File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed
src/unix/linux_like/linux/gnu/b64/x86_64 Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -3027,6 +3027,8 @@ fn test_linux(target: &str) {
3027
3027
// FIXME: requires >= 5.4.1 kernel headers
3028
3028
"j1939_filter" if musl => true ,
3029
3029
3030
+ "ptrace_rseq_configuration" => true ,
3031
+
3030
3032
_ => false ,
3031
3033
}
3032
3034
} ) ;
@@ -3268,6 +3270,9 @@ fn test_linux(target: &str) {
3268
3270
| "RTNLGRP_STATS" // linux v5.18+
3269
3271
=> true ,
3270
3272
3273
+ // Added in Linux 5.13
3274
+ "PTRACE_GET_RSEQ_CONFIGURATION" => true ,
3275
+
3271
3276
_ => false ,
3272
3277
}
3273
3278
} ) ;
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