File tree 3 files changed +14
-0
lines changed
src/unix/linux_like/linux/gnu/b64/x86_64
3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3068,6 +3068,7 @@ fn test_linux(target: &str) {
3068
3068
3069
3069
// FIXME: Unignore once we update Ubuntu to 22.04
3070
3070
"mallinfo2" if sparc64 => true ,
3071
+ "ptrace_rseq_configuration" if sparc64 => true ,
3071
3072
3072
3073
_ => false ,
3073
3074
}
@@ -3309,6 +3310,8 @@ fn test_linux(target: &str) {
3309
3310
| "IFLA_PERM_ADDRESS"
3310
3311
| "IFLA_PROTO_DOWN_REASON"
3311
3312
if sparc64 => true ,
3313
+ // Added in Linux 5.13
3314
+ "PTRACE_GET_RSEQ_CONFIGURATION" if sparc64 => true ,
3312
3315
3313
3316
_ => false ,
3314
3317
}
Original file line number Diff line number Diff line change @@ -19,12 +19,14 @@ NFT_MSG_NEWOBJ
19
19
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
20
20
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
21
21
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
22
+ PTRACE_GET_RSEQ_CONFIGURATION
22
23
PTRACE_SYSEMU
23
24
PTRACE_SYSEMU_SINGLESTEP
24
25
_libc_fpstate
25
26
flock64
26
27
getcontext
27
28
makecontext
29
+ ptrace_rseq_configuration
28
30
setcontext
29
31
swapcontext
30
32
termios2
Original file line number Diff line number Diff line change @@ -265,6 +265,14 @@ s! {
265
265
pub seccomp_notif_resp: :: __u16,
266
266
pub seccomp_data: :: __u16,
267
267
}
268
+
269
+ pub struct ptrace_rseq_configuration {
270
+ pub rseq_abi_pointer: :: __u64,
271
+ pub rseq_abi_size: :: __u32,
272
+ pub signature: :: __u32,
273
+ pub flags: :: __u32,
274
+ pub pad: :: __u32,
275
+ }
268
276
}
269
277
270
278
s_no_extra_traits ! {
@@ -535,6 +543,7 @@ pub const O_ASYNC: ::c_int = 0x2000;
535
543
pub const O_NDELAY : :: c_int = 0x800 ;
536
544
537
545
pub const PTRACE_DETACH : :: c_uint = 17 ;
546
+ pub const PTRACE_GET_RSEQ_CONFIGURATION : :: c_uint = 0x420f ;
538
547
539
548
pub const EFD_NONBLOCK : :: c_int = 0x800 ;
540
549
You can’t perform that action at this time.
0 commit comments