mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 06:40:09 +00:00
1ab675ca63
This patch adds the PTRACE_SECCOMP_GET_METADATA constant from Linux
4.16 to all relevant sys/ptrace.h files. A type struct
__ptrace_seccomp_metadata, analogous to other such types, is also
added.
Tested for x86_64, and with build-many-glibcs.py.
* sysdeps/unix/sysv/linux/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
* sysdeps/unix/sysv/linux/bits/ptrace-shared.h
(struct __ptrace_seccomp_metadata): New type.
* sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/arm/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/tile/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
* sysdeps/unix/sysv/linux/x86/sys/ptrace.h
(PTRACE_SECCOMP_GET_METADATA): Likewise.
(cherry picked from commit
|
||
---|---|---|
.. | ||
bits | ||
sys | ||
tilegx32 | ||
tilegx64 | ||
arch-fork.h | ||
cacheflush.c | ||
clone.S | ||
configure | ||
configure.ac | ||
dl-static.c | ||
getcontext.S | ||
Implies | ||
init-first.c | ||
ioctl.S | ||
ipc_priv.h | ||
kernel-features.h | ||
ldconfig.h | ||
ldd-rewrite.sed | ||
ldsodefs.h | ||
libc-vdso.h | ||
makecontext.c | ||
Makefile | ||
profil-counter.h | ||
pt-vfork.c | ||
register-dump.h | ||
sched_getcpu.c | ||
set_dataplane.c | ||
setcontext.S | ||
shlib-versions | ||
sigcontextinfo.h | ||
swapcontext.S | ||
syscall.S | ||
sysconf.c | ||
sysdep.c | ||
sysdep.h | ||
ucontext_i.h | ||
Versions | ||
vfork.S |