File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -3314,6 +3314,8 @@ fn test_linux(target: &str) {
33143314 "FUSE_SUPER_MAGIC" => true ,
33153315 // linux 5.12 min
33163316 "MPOL_F_NUMA_BALANCING" => true ,
3317+ // linux 5.17 min
3318+ "PR_SET_VMA" | "PR_SET_VMA_ANON_NAME" => true ,
33173319
33183320 _ => false ,
33193321 }
Original file line number Diff line number Diff line change @@ -356,6 +356,8 @@ O_FSYNC
356356PF_IB
357357PF_MPLS
358358PF_XDP
359+ PR_SET_VMA
360+ PR_SET_VMA_ANON_NAME
359361PROC_SUPER_MAGIC
360362PTHREAD_MUTEX_ADAPTIVE_NP
361363PTRACE_GET_SYSCALL_INFO
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ LIO_WRITE
2020PF_IB
2121PF_MPLS
2222PF_XDP
23+ PR_SET_VMA
24+ PR_SET_VMA_ANON_NAME
2325adjtimex
2426aio_cancel
2527aio_error
Original file line number Diff line number Diff line change @@ -1776,6 +1776,9 @@ pub const PR_CAP_AMBIENT_RAISE: ::c_int = 2;
17761776pub const PR_CAP_AMBIENT_LOWER : :: c_int = 3 ;
17771777pub const PR_CAP_AMBIENT_CLEAR_ALL : :: c_int = 4 ;
17781778
1779+ pub const PR_SET_VMA : :: c_int = 0x53564d41 ;
1780+ pub const PR_SET_VMA_ANON_NAME : :: c_int = 0 ;
1781+
17791782pub const GRND_NONBLOCK : :: c_uint = 0x0001 ;
17801783pub const GRND_RANDOM : :: c_uint = 0x0002 ;
17811784
You can’t perform that action at this time.
0 commit comments