File tree Expand file tree Collapse file tree 5 files changed +7
-0
lines changed Expand file tree Collapse file tree 5 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2654,6 +2654,7 @@ fn test_linux(target: &str) {
26542654 "linux/random.h" ,
26552655 "linux/reboot.h" ,
26562656 "linux/rtnetlink.h" ,
2657+ "linux/sched.h" ,
26572658 "linux/seccomp.h" ,
26582659 "linux/sockios.h" ,
26592660 "linux/uinput.h" ,
Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ CLONE_NEWUSER
212212CLONE_NEWUTS
213213CLONE_PARENT
214214CLONE_PARENT_SETTID
215+ CLONE_PIDFD
215216CLONE_PTRACE
216217CLONE_SETTLS
217218CLONE_SIGHAND
Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ CLONE_NEWUSER
257257CLONE_NEWUTS
258258CLONE_PARENT
259259CLONE_PARENT_SETTID
260+ CLONE_PIDFD
260261CLONE_PTRACE
261262CLONE_SETTLS
262263CLONE_SIGHAND
Original file line number Diff line number Diff line change @@ -2447,6 +2447,8 @@ pub const SCHED_DEADLINE: ::c_int = 6;
24472447
24482448pub const SCHED_RESET_ON_FORK : :: c_int = 0x40000000 ;
24492449
2450+ pub const CLONE_PIDFD : :: c_int = 0x1000 ;
2451+
24502452// bits/seek_constants.h
24512453pub const SEEK_DATA : :: c_int = 3 ;
24522454pub const SEEK_HOLE : :: c_int = 4 ;
Original file line number Diff line number Diff line change @@ -1509,6 +1509,8 @@ pub const SCHED_IDLE: ::c_int = 5;
15091509
15101510pub const SCHED_RESET_ON_FORK : :: c_int = 0x40000000 ;
15111511
1512+ pub const CLONE_PIDFD : :: c_int = 0x1000 ;
1513+
15121514// netinet/in.h
15131515// NOTE: These are in addition to the constants defined in src/unix/mod.rs
15141516
You can’t perform that action at this time.
0 commit comments