Fix typo in sys/ptrace.h.
authorCarlos O'Donell <carlos@redhat.com>
Mon, 25 Nov 2013 19:57:42 +0000 (14:57 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Mon, 25 Nov 2013 19:57:42 +0000 (14:57 -0500)
The event code is PTRACE_EVENT_SECCOMP, not PTRAVE_EVENT_SECCOMP.
This patch fixes the V->C typo. There are no ABI issues since the
number remains the same for the code. Code using the old wrong
name will need to be updated.

ChangeLog
NEWS
sysdeps/unix/sysv/linux/sys/ptrace.h

index 9fcda27..2971fcc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-11-25  Carlos O'Donell  <carlos@redhat.com>
+
+       [BZ #16245]
+       * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
+       Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
+
 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
diff --git a/NEWS b/NEWS
index 0f70fc1..bc68143 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -19,7 +19,7 @@ Version 2.19
   15905, 15909, 15917, 15919, 15921, 15923, 15939, 15948, 15963, 15966,
   15985, 15988, 15997, 16032, 16034, 16036, 16037, 16041, 16055, 16071,
   16072, 16074, 16078, 16103, 16112, 16143, 16144, 16146, 16150, 16151,
-  16153, 16167, 16172.
+  16153, 16167, 16172, 16245.
 
 * CVE-2012-4412 The strcoll implementation caches indices and rules for
   large collation sequences to optimize multiple passes.  This cache
index 2b78565..8aa4c08 100644 (file)
@@ -184,7 +184,7 @@ enum __ptrace_eventcodes
   PTRACE_EVENT_EXEC    = 4,
   PTRACE_EVENT_VFORK_DONE = 5,
   PTRACE_EVENT_EXIT    = 6,
-  PTRAVE_EVENT_SECCOMP  = 7
+  PTRACE_EVENT_SECCOMP  = 7
 };
 
 /* Arguments for PTRACE_PEEKSIGINFO.  */