File tree 7 files changed +22
-1
lines changed
7 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -2846,6 +2846,7 @@ fn test_linux(target: &str) {
2846
2846
"linux/netlink.h" ,
2847
2847
// FIXME: requires more recent kernel headers:
2848
2848
// "linux/openat2.h",
2849
+ [ !musl] : "linux/ptrace.h" ,
2849
2850
"linux/quota.h" ,
2850
2851
"linux/random.h" ,
2851
2852
"linux/reboot.h" ,
Original file line number Diff line number Diff line change @@ -3056,6 +3056,7 @@ pthread_spin_unlock
3056
3056
pthread_spinlock_t
3057
3057
pthread_t
3058
3058
ptrace
3059
+ ptrace_peeksiginfo_args
3059
3060
ptrdiff_t
3060
3061
ptsname
3061
3062
ptsname_r
Original file line number Diff line number Diff line change @@ -616,6 +616,7 @@ pthread_rwlockattr_getkind_np
616
616
pthread_rwlockattr_getpshared
617
617
pthread_rwlockattr_setkind_np
618
618
pthread_setname_np
619
+ ptrace_peeksiginfo_args
619
620
pututxline
620
621
pwritev2
621
622
pwritev64
Original file line number Diff line number Diff line change @@ -349,6 +349,12 @@ s! {
349
349
pub instruction_pointer: :: __u64,
350
350
pub args: [ :: __u64; 6 ] ,
351
351
}
352
+
353
+ pub struct ptrace_peeksiginfo_args {
354
+ pub off: :: __u64,
355
+ pub flags: :: __u32,
356
+ pub nr: :: __s32,
357
+ }
352
358
}
353
359
354
360
s_no_extra_traits ! {
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ pub const POLLWRBAND: ::c_short = 0x100;
353
353
pub const O_ASYNC : :: c_int = 0x40 ;
354
354
pub const O_NDELAY : :: c_int = 0x4004 ;
355
355
356
- pub const PTRACE_DETACH : :: c_uint = 11 ;
356
+ pub const PTRACE_DETACH : :: c_uint = 17 ;
357
357
358
358
pub const EFD_NONBLOCK : :: c_int = 0x4000 ;
359
359
Original file line number Diff line number Diff line change @@ -318,6 +318,12 @@ s! {
318
318
pub semvmx: :: c_int,
319
319
pub semaem: :: c_int,
320
320
}
321
+
322
+ pub struct ptrace_peeksiginfo_args {
323
+ pub off: :: __u64,
324
+ pub flags: :: __u32,
325
+ pub nr: :: __s32,
326
+ }
321
327
}
322
328
323
329
impl siginfo_t {
Original file line number Diff line number Diff line change 72
72
pub e_termination: :: c_short,
73
73
pub e_exit: :: c_short,
74
74
}
75
+
76
+ pub struct ptrace_peeksiginfo_args {
77
+ pub off: :: __u64,
78
+ pub flags: :: __u32,
79
+ pub nr: :: __s32,
80
+ }
75
81
}
76
82
77
83
pub const MCL_CURRENT : :: c_int = 0x0001 ;
You can’t perform that action at this time.
0 commit comments