mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Add PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG etc. from Linux 6.4 to sys/ptrace.h
Linux 6.4 adds new constants PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG and PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG. Add those to all relevant sys/ptrace.h headers, along with adding the associated argument structure to bits/ptrace-shared.h (named struct __ptrace_sud_config there following the usual convention for such structures). Tested for x86_64 and with build-many-glibcs.py.
This commit is contained in:
@ -225,8 +225,18 @@ enum __ptrace_request
|
||||
#define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO
|
||||
|
||||
/* Get rseq configuration information. */
|
||||
PTRACE_GET_RSEQ_CONFIGURATION = 0x420f
|
||||
PTRACE_GET_RSEQ_CONFIGURATION = 0x420f,
|
||||
#define PTRACE_GET_RSEQ_CONFIGURATION PTRACE_GET_RSEQ_CONFIGURATION
|
||||
|
||||
/* Set configuration for syscall user dispatch. */
|
||||
PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG = 0x4210,
|
||||
#define PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG \
|
||||
PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG
|
||||
|
||||
/* Get configuration for syscall user dispatch. */
|
||||
PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG = 0x4211
|
||||
#define PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG \
|
||||
PTRACE_GET_SYSCALL_USER_DISPATCH_CONFIG
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user