Add PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG etc. from Linux 6.4 to sys/ptrace.h
commitb163fca6c399808f6c447be98d09cd1165e78e07
authorJoseph Myers <joseph@codesourcery.com>
Tue, 8 Aug 2023 14:38:22 +0000 (8 14:38 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 8 Aug 2023 14:38:22 +0000 (8 14:38 +0000)
treea2da2dd57d89542b74d608bec13e97e60ced161b
parentc8c20039c7595677f9180b487c4424a5a08c572f
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.
sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
sysdeps/unix/sysv/linux/arm/sys/ptrace.h
sysdeps/unix/sysv/linux/bits/ptrace-shared.h
sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
sysdeps/unix/sysv/linux/s390/sys/ptrace.h
sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
sysdeps/unix/sysv/linux/sys/ptrace.h
sysdeps/unix/sysv/linux/x86/sys/ptrace.h