File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 3 files changed +7
-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_NEWTIME" | "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 @@ -1124,6 +1124,9 @@ pub const REG_STARTEND: ::c_int = 4;
1124
1124
pub const REG_EEND : :: c_int = 14 ;
1125
1125
pub const REG_ESIZE : :: c_int = 15 ;
1126
1126
pub const REG_ERPAREN : :: c_int = 16 ;
1127
+ pub const CLONE_NEWTIME : :: c_int = 0x80 ;
1128
+ pub const CLONE_CLEAR_SIGHAND : :: c_longlong = 0x100000000 ;
1129
+ pub const CLONE_INTO_CGROUP : :: c_longlong = 0x200000000 ;
1127
1130
1128
1131
extern "C" {
1129
1132
pub fn fgetspent_r (
You can’t perform that action at this time.
0 commit comments