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) {
2654
2654
"linux/random.h" ,
2655
2655
"linux/reboot.h" ,
2656
2656
"linux/rtnetlink.h" ,
2657
+ "linux/sched.h" ,
2657
2658
"linux/seccomp.h" ,
2658
2659
"linux/sockios.h" ,
2659
2660
"linux/uinput.h" ,
Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ CLONE_NEWUSER
212
212
CLONE_NEWUTS
213
213
CLONE_PARENT
214
214
CLONE_PARENT_SETTID
215
+ CLONE_PIDFD
215
216
CLONE_PTRACE
216
217
CLONE_SETTLS
217
218
CLONE_SIGHAND
Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ CLONE_NEWUSER
257
257
CLONE_NEWUTS
258
258
CLONE_PARENT
259
259
CLONE_PARENT_SETTID
260
+ CLONE_PIDFD
260
261
CLONE_PTRACE
261
262
CLONE_SETTLS
262
263
CLONE_SIGHAND
Original file line number Diff line number Diff line change @@ -2447,6 +2447,8 @@ pub const SCHED_DEADLINE: ::c_int = 6;
2447
2447
2448
2448
pub const SCHED_RESET_ON_FORK : :: c_int = 0x40000000 ;
2449
2449
2450
+ pub const CLONE_PIDFD : :: c_int = 0x1000 ;
2451
+
2450
2452
// bits/seek_constants.h
2451
2453
pub const SEEK_DATA : :: c_int = 3 ;
2452
2454
pub 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;
1509
1509
1510
1510
pub const SCHED_RESET_ON_FORK : :: c_int = 0x40000000 ;
1511
1511
1512
+ pub const CLONE_PIDFD : :: c_int = 0x1000 ;
1513
+
1512
1514
// netinet/in.h
1513
1515
// NOTE: These are in addition to the constants defined in src/unix/mod.rs
1514
1516
You can’t perform that action at this time.
0 commit comments