authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 10:50:27-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-07-31 10:50:27-07:00
log643c9868380a9fd34f2154beecfe36cbd9e2f688
tree7274eecb6b32c9988e280a432184b2828b263b79
parent004711310a6b71e5145a73e4884866671dfdc54d

Revert "std.c: freebsd fix typo for PROC.PROCCTL_MD_MIN constant."

This reverts commit e9dd0a22f0d93683f97db747be53d8d2d21c3543.

1 files changed, 4 insertions(+), 4 deletions(-)

lib/std/c/freebsd.zig+4-4
......@@ -2464,8 +2464,8 @@ pub const PROC = struct {
24642464 // x86_64-only constants
24652465 pub const KPTI = switch (builtin.cpu.arch) {
24662466 .x86_64 => struct {
2467 pub const CTL = PROC.PROCCTL_MD_MIN;
2468 pub const STATUS = PROC.PROCCTL_MD_MIN + 1;
2467 pub const CTL = PROC.PROCCTL_MD_MIND;
2468 pub const STATUS = PROC.PROCCTL_MD_MIND + 1;
24692469 pub const CTL_ENABLE_ON_EXEC = 1;
24702470 pub const CTL_DISABLE_ON_EXEC = 2;
24712471 pub const STATUS_ACTIVE = 0x80000000;
......@@ -2474,8 +2474,8 @@ pub const PROC = struct {
24742474 };
24752475 pub const LA = switch (builtin.cpu.arch) {
24762476 .x86_64 => struct {
2477 pub const CTL = PROC.PROCCTL_MD_MIN + 2;
2478 pub const STATUS = PROC.PROCCTL_MD_MIN + 3;
2477 pub const CTL = PROC.PROCCTL_MD_MIND + 2;
2478 pub const STATUS = PROC.PROCCTL_MD_MIND + 3;
24792479 pub const CTL_LA48_ON_EXEC = 1;
24802480 pub const CTL_LA57_ON_EXEC = 2;
24812481 pub const CTL_DEFAULT_ON_EXEC = 3;