File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -42,3 +42,20 @@ s_no_extra_traits! {
4242 pub __glibc_reserved: [ :: c_uint; 3 ] ,
4343 }
4444}
45+
46+ s ! {
47+ #[ repr( align( 8 ) ) ]
48+ pub struct clone_args {
49+ pub flags: :: c_ulonglong,
50+ pub pidfd: :: c_ulonglong,
51+ pub child_tid: :: c_ulonglong,
52+ pub parent_tid: :: c_ulonglong,
53+ pub exit_signal: :: c_ulonglong,
54+ pub stack: :: c_ulonglong,
55+ pub stack_size: :: c_ulonglong,
56+ pub tls: :: c_ulonglong,
57+ pub set_tid: :: c_ulonglong,
58+ pub set_tid_size: :: c_ulonglong,
59+ pub cgroup: :: c_ulonglong,
60+ }
61+ }
Original file line number Diff line number Diff line change @@ -42,3 +42,20 @@ s_no_extra_traits! {
4242 pub __glibc_reserved: [ :: c_uint; 3 ] ,
4343 }
4444}
45+
46+ s ! {
47+ #[ repr( align( 8 ) ) ]
48+ pub struct clone_args {
49+ pub flags: :: c_ulonglong,
50+ pub pidfd: :: c_ulonglong,
51+ pub child_tid: :: c_ulonglong,
52+ pub parent_tid: :: c_ulonglong,
53+ pub exit_signal: :: c_ulonglong,
54+ pub stack: :: c_ulonglong,
55+ pub stack_size: :: c_ulonglong,
56+ pub tls: :: c_ulonglong,
57+ pub set_tid: :: c_ulonglong,
58+ pub set_tid_size: :: c_ulonglong,
59+ pub cgroup: :: c_ulonglong,
60+ }
61+ }
You can’t perform that action at this time.
0 commit comments