]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update <sys/ptrace.h> for Linux 4.3.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 23 Nov 2015 17:53:08 +0000 (17:53 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 23 Nov 2015 17:53:08 +0000 (17:53 +0000)
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.

ChangeLog
sysdeps/unix/sysv/linux/aarch64/sys/ptrace.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/tile/sys/ptrace.h

index d68226eb2ca2a8f61ba6496e52fa746397ec287e..e682445249c0dd780e7249ba3a33be7d656bcb71 100644 (file)
--- a/ChangeLog
+++ b/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.
index 4ef5fa43bcc4ab83c680e684dfa3202b4df44d45..fd987eca5cde90f9d77421d7297b38e1528cb18c 100644 (file)
@@ -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.  */
index 6f00f5524eae038184e0533b0078f2cbf87a8ada..0d22725a2ac9ec112f19f5fd6786b5a951d6b3d6 100644 (file)
@@ -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.  */
index 4b768baab89bd4a4b887d2f51ce1463e726fc2e1..20a73656c6acb1c8b32cd7090072a0c82aeb9165 100644 (file)
@@ -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.  */
index a43fcaaf0e9371e68b2eed7a2fb23b8155840be5..ebebde2fe7498334e5de6baeb17a6be614854ddb 100644 (file)
@@ -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.  */
index b54b75d917d9ff6a7220c95cf18b7c482c79a08e..ad3c2c6a82dce34b5fe27da354c2fa34a5153870 100644 (file)
@@ -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.  */
index 621daf76eebc097d1bdbe8802a353e49c63107f8..dc956bb4585909d375f7b91da290eaea827c9084 100644 (file)
@@ -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.  */
index 9ad40d61c42c04ddd485db3db160d41424994ef2..adee5e99f2e61654b0d6049acb9b1ffc35149dba 100644 (file)
@@ -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.  */