File tree 3 files changed +6
-1
lines changed
src/unix/linux_like/linux/gnu
3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3841,6 +3841,7 @@ fn test_linux(target: &str) {
3841
3841
| "MADV_POPULATE_READ"
3842
3842
| "MADV_POPULATE_WRITE"
3843
3843
if musl => true ,
3844
+ "CLONE_CLEAR_SIGHAND" | "CLONE_INTO_CGROUP" => true ,
3844
3845
3845
3846
// kernel 6.1 minimum
3846
3847
"MADV_COLLAPSE" => true ,
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ BTRFS_SUPER_MAGIC
32
32
CGROUP2_SUPER_MAGIC
33
33
CGROUP_SUPER_MAGIC
34
34
CLONE_NEWTIME
35
+ CLONE_CLEAR_SIGHAND
36
+ CLONE_INTO_CGROUP
35
37
CODA_SUPER_MAGIC
36
38
CRAMFS_MAGIC
37
39
DEAD_PROCESS
@@ -666,4 +668,4 @@ getmntent_r
666
668
putpwent
667
669
putgrent
668
670
execveat
669
- close_range
671
+ close_range
Original file line number Diff line number Diff line change @@ -946,6 +946,8 @@ pub const ELFOSABI_ARM_AEABI: u8 = 64;
946
946
947
947
// linux/sched.h
948
948
pub const CLONE_NEWTIME : :: c_int = 0x80 ;
949
+ pub const CLONE_CLEAR_SIGHAND : :: c_int = 0x100000000 ;
950
+ pub const CLONE_INTO_CGROUP : :: c_int = 0x200000000 ;
949
951
950
952
// linux/keyctl.h
951
953
pub const KEYCTL_DH_COMPUTE : u32 = 23 ;
You can’t perform that action at this time.
0 commit comments