We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b758af + e979ba6 commit 7f9adf8Copy full SHA for 7f9adf8
src/unix/bsd/freebsdlike/freebsd/freebsd14/x86_64.rs
@@ -3,3 +3,10 @@ pub const PROC_KPTI_CTL_ENABLE_ON_EXEC: ::c_int = 1;
3
pub const PROC_KPTI_CTL_DISABLE_ON_EXEC: ::c_int = 2;
4
pub const PROC_KPTI_STATUS: ::c_int = ::PROC_PROCCTL_MD_MIN + 1;
5
pub const PROC_KPTI_STATUS_ACTIVE: ::c_int = 0x80000000;
6
+pub const PROC_LA_CTL: ::c_int = ::PROC_PROCCTL_MD_MIN + 2;
7
+pub const PROC_LA_STATUS: ::c_int = ::PROC_PROCCTL_MD_MIN + 3;
8
+pub const PROC_LA_CTL_LA48_ON_EXEC: ::c_int = 1;
9
+pub const PROC_LA_CTL_LA57_ON_EXEC: ::c_int = 2;
10
+pub const PROC_LA_CTL_DEFAULT_ON_EXEC: ::c_int = 3;
11
+pub const PROC_LA_STATUS_LA48: ::c_int = 0x01000000;
12
+pub const PROC_LA_STATUS_LA57: ::c_int = 0x02000000;
0 commit comments