File tree 3 files changed +6
-0
lines changed
src/unix/linux_like/linux/gnu
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -3789,6 +3789,7 @@ fn test_linux(target: &str) {
3789
3789
| "MADV_POPULATE_READ"
3790
3790
| "MADV_POPULATE_WRITE"
3791
3791
if musl => true ,
3792
+ "CLONE_NEWTIME" | "CLONE_CLEAR_SIGHAND" | "CLONE_INTO_CGROUP" => true ,
3792
3793
3793
3794
// FIXME: Requires more recent kernel headers
3794
3795
| "IFLA_PARENT_DEV_NAME" // linux v5.13+
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ BPF_FS_MAGIC
31
31
BTRFS_SUPER_MAGIC
32
32
CGROUP2_SUPER_MAGIC
33
33
CGROUP_SUPER_MAGIC
34
+ CLONE_CLEAR_SIGHAND
35
+ CLONE_INTO_CGROUP
34
36
CODA_SUPER_MAGIC
35
37
CRAMFS_MAGIC
36
38
DEAD_PROCESS
Original file line number Diff line number Diff line change @@ -1109,6 +1109,9 @@ pub const REG_STARTEND: ::c_int = 4;
1109
1109
pub const REG_EEND : :: c_int = 14 ;
1110
1110
pub const REG_ESIZE : :: c_int = 15 ;
1111
1111
pub const REG_ERPAREN : :: c_int = 16 ;
1112
+ pub const CLONE_NEWTIME : :: c_int = 0x80 ;
1113
+ pub const CLONE_CLEAR_SIGHAND : :: c_longlong = 0x100000000 ;
1114
+ pub const CLONE_INTO_CGROUP : :: c_longlong = 0x200000000 ;
1112
1115
1113
1116
extern "C" {
1114
1117
pub fn fgetspent_r (
You can’t perform that action at this time.
0 commit comments