public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/16245] New: Typo in sysdeps/unix/sysv/linux/sys/ptrace.h.
@ 2013-11-25 19:52 carlos at redhat dot com
  2013-11-25 21:10 ` [Bug libc/16245] " carlos at redhat dot com
  2014-06-13 11:53 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: carlos at redhat dot com @ 2013-11-25 19:52 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16245

            Bug ID: 16245
           Summary: Typo in sysdeps/unix/sysv/linux/sys/ptrace.h.
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
                CC: drepper.fsp at gmail dot com

In sysdeps/unix/sysv/linux/sys/ptrace.h the constant PTRACE_EVENT_SECCOMP is
incorrectly spelled as PTRAVE_EVENT_SECCOMP with a "V" instead of a "C".

This results in user code not compiling correctly when going from using the
Linux kernel header linux/ptrace.h to using the glibc header sys/ptrace.h or
when trying to use PTRACE_EVENT_SECCOMP.

There is no ABI issue in renaming the event since old applications continue to
work.

Compiling new applications will reuqire you to use the right name e.g. you can
no longer use PTRAVE_EVENT_SECCOMP.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/16245] Typo in sysdeps/unix/sysv/linux/sys/ptrace.h.
  2013-11-25 19:52 [Bug libc/16245] New: Typo in sysdeps/unix/sysv/linux/sys/ptrace.h carlos at redhat dot com
@ 2013-11-25 21:10 ` carlos at redhat dot com
  2014-06-13 11:53 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: carlos at redhat dot com @ 2013-11-25 21:10 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16245

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
commit a7624ed987f060d0079f7331a9b12ea250c81cd6
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Mon Nov 25 14:57:42 2013 -0500

    Fix typo in sys/ptrace.h.

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/16245] Typo in sysdeps/unix/sysv/linux/sys/ptrace.h.
  2013-11-25 19:52 [Bug libc/16245] New: Typo in sysdeps/unix/sysv/linux/sys/ptrace.h carlos at redhat dot com
  2013-11-25 21:10 ` [Bug libc/16245] " carlos at redhat dot com
@ 2014-06-13 11:53 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 11:53 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=16245

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-13 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-25 19:52 [Bug libc/16245] New: Typo in sysdeps/unix/sysv/linux/sys/ptrace.h carlos at redhat dot com
2013-11-25 21:10 ` [Bug libc/16245] " carlos at redhat dot com
2014-06-13 11:53 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).