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) {
3314
3314
"FUSE_SUPER_MAGIC" => true ,
3315
3315
// linux 5.12 min
3316
3316
"MPOL_F_NUMA_BALANCING" => true ,
3317
+ // linux 5.17 min
3318
+ "PR_SET_VMA" | "PR_SET_VMA_ANON_NAME" => true ,
3317
3319
3318
3320
_ => false ,
3319
3321
}
Original file line number Diff line number Diff line change @@ -356,6 +356,8 @@ O_FSYNC
356
356
PF_IB
357
357
PF_MPLS
358
358
PF_XDP
359
+ PR_SET_VMA
360
+ PR_SET_VMA_ANON_NAME
359
361
PROC_SUPER_MAGIC
360
362
PTHREAD_MUTEX_ADAPTIVE_NP
361
363
PTRACE_GET_SYSCALL_INFO
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ LIO_WRITE
20
20
PF_IB
21
21
PF_MPLS
22
22
PF_XDP
23
+ PR_SET_VMA
24
+ PR_SET_VMA_ANON_NAME
23
25
adjtimex
24
26
aio_cancel
25
27
aio_error
Original file line number Diff line number Diff line change @@ -1776,6 +1776,9 @@ pub const PR_CAP_AMBIENT_RAISE: ::c_int = 2;
1776
1776
pub const PR_CAP_AMBIENT_LOWER : :: c_int = 3 ;
1777
1777
pub const PR_CAP_AMBIENT_CLEAR_ALL : :: c_int = 4 ;
1778
1778
1779
+ pub const PR_SET_VMA : :: c_int = 0x53564d41 ;
1780
+ pub const PR_SET_VMA_ANON_NAME : :: c_int = 0 ;
1781
+
1779
1782
pub const GRND_NONBLOCK : :: c_uint = 0x0001 ;
1780
1783
pub const GRND_RANDOM : :: c_uint = 0x0002 ;
1781
1784
You can’t perform that action at this time.
0 commit comments