mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update <sys/ptrace.h> for Linux 4.3.
This patch updates <sys/ptrace.h> for Linux 4.3, adding PTRACE_O_SUSPEND_SECCOMP and updating the value of PTRACE_O_MASK. Some architectures were missing the older PTRACE_O_EXITKILL, so that was added to the files missing it as well. Tested for x86_64 (testsuite, and that installed shared libraries are unchanged by the patch). * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. (PTRACE_O_SUSPEND_SECCOMP): Likewise. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. (PTRACE_O_SUSPEND_SECCOMP): Likewise. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions. (PTRACE_O_MASK): Update value. * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions. (PTRACE_O_SUSPEND_SECCOMP): Likewise. (PTRACE_O_MASK): Update value.
This commit is contained in:
25
ChangeLog
25
ChangeLog
@ -1,5 +1,30 @@
|
||||
2015-11-23 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
|
||||
(PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_SUSPEND_SECCOMP): Likewise.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
|
||||
New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_SUSPEND_SECCOMP): Likewise.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
|
||||
(PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h
|
||||
(PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
|
||||
(PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
* sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
|
||||
New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
* sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
|
||||
New value in enum __ptrace_setoptions.
|
||||
(PTRACE_O_SUSPEND_SECCOMP): Likewise.
|
||||
(PTRACE_O_MASK): Update value.
|
||||
|
||||
* sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
|
||||
New macro.
|
||||
(PACKET_AUXDATA): Likewise.
|
||||
|
@ -149,7 +149,9 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEVFORKDONE = 0x00000020,
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_MASK = 0x000000ff
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
@ -169,7 +169,9 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEVFORKDONE = 0x00000020,
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_MASK = 0x000000ff
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
@ -142,7 +142,8 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_MASK = 0x001000ff
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
@ -181,7 +181,8 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_MASK = 0x001000ff
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
@ -224,7 +224,8 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_MASK = 0x001000ff
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
@ -172,7 +172,8 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_MASK = 0x001000ff
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
@ -138,7 +138,9 @@ enum __ptrace_setoptions
|
||||
PTRACE_O_TRACEVFORKDONE = 0x00000020,
|
||||
PTRACE_O_TRACEEXIT = 0x00000040,
|
||||
PTRACE_O_TRACESECCOMP = 0x00000080,
|
||||
PTRACE_O_MASK = 0x000000ff
|
||||
PTRACE_O_EXITKILL = 0x00100000,
|
||||
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
|
||||
PTRACE_O_MASK = 0x003000ff
|
||||
};
|
||||
|
||||
/* Wait extended result codes for the above trace options. */
|
||||
|
Reference in New Issue
Block a user