File tree Expand file tree Collapse file tree 6 files changed +15
-1
lines changed
Expand file tree Collapse file tree 6 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3368,6 +3368,8 @@ fn test_linux(target: &str) {
33683368 if sparc64 => true ,
33693369 // Added in Linux 5.13
33703370 "PTRACE_GET_RSEQ_CONFIGURATION" if sparc64 => true ,
3371+ // Added in linux 5.6
3372+ "CLONE_NUMTIME" => true ,
33713373
33723374 _ => false ,
33733375 }
Original file line number Diff line number Diff line change @@ -206,15 +206,18 @@ CLOCK_TAI
206206CLOCK_THREAD_CPUTIME_ID
207207CLONE_CHILD_CLEARTID
208208CLONE_CHILD_SETTID
209+ CLONE_CLEAR_SIGHAND
209210CLONE_DETACHED
210211CLONE_FILES
211212CLONE_FS
213+ CLONE_INTO_CGROUP
212214CLONE_IO
213215CLONE_NEWCGROUP
214216CLONE_NEWIPC
215217CLONE_NEWNET
216218CLONE_NEWNS
217219CLONE_NEWPID
220+ CLONE_NEWTIME
218221CLONE_NEWUSER
219222CLONE_NEWUTS
220223CLONE_PARENT
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ BPF_FS_MAGIC
3131BTRFS_SUPER_MAGIC
3232CGROUP2_SUPER_MAGIC
3333CGROUP_SUPER_MAGIC
34+ CLONE_CLEAR_SIGHAND
35+ CLONE_INTO_CGROUP
3436CODA_SUPER_MAGIC
3537CRAMFS_MAGIC
3638DCCP_SERVICE_LIST_MAX_LEN
@@ -660,4 +662,4 @@ strftime
660662strptime
661663dirname
662664posix_basename
663- gnu_basename
665+ gnu_basename
Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ CLONE_NEWIPC
264264CLONE_NEWNET
265265CLONE_NEWNS
266266CLONE_NEWPID
267+ CLONE_NEWTIME
267268CLONE_NEWUSER
268269CLONE_NEWUTS
269270CLONE_PARENT
Original file line number Diff line number Diff line change @@ -2715,7 +2715,10 @@ pub const SCHED_DEADLINE: ::c_int = 6;
27152715
27162716pub const SCHED_RESET_ON_FORK : :: c_int = 0x40000000 ;
27172717
2718+ pub const CLONE_NEWTIME : :: c_int = 0x80 ;
27182719pub const CLONE_PIDFD : :: c_int = 0x1000 ;
2720+ pub const CLONE_CLEAR_SIGHAND : :: c_longlong = 0x100000000 ;
2721+ pub const CLONE_INTO_CGROUP : :: c_longlong = 0x200000000 ;
27192722
27202723// linux/mempolicy.h
27212724pub const MPOL_DEFAULT : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -1117,6 +1117,9 @@ pub const REG_STARTEND: ::c_int = 4;
11171117pub const REG_EEND : :: c_int = 14 ;
11181118pub const REG_ESIZE : :: c_int = 15 ;
11191119pub const REG_ERPAREN : :: c_int = 16 ;
1120+ pub const CLONE_NEWTIME : :: c_int = 0x80 ;
1121+ pub const CLONE_CLEAR_SIGHAND : :: c_longlong = 0x100000000 ;
1122+ pub const CLONE_INTO_CGROUP : :: c_longlong = 0x200000000 ;
11201123
11211124extern "C" {
11221125 pub fn fgetspent_r (
You can’t perform that action at this time.
0 commit comments