[Bug nptl/22391] New: Signal function clear NPTL internal symbols inconsistently

adhemerval.zanella at linaro dot org sourceware-bugzilla@sourceware.org
Fri Nov 3 11:17:00 GMT 2017


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

            Bug ID: 22391
           Summary: Signal function clear NPTL internal symbols
                    inconsistently
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: adhemerval.zanella at linaro dot org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The following signal set implementation does not filter out NPTL internal
signals:

  1. signal/sigaddset.c
  2. signal/sigdelset.c
  3. sysdeps/unix/sysv/linux/ia64/sigprocmask.c
  4. sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
  5. sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
  6. sysdeps/unix/sysv/linux/x86_64/sigprocmask.c
  7. nptl/sigaction.c
  8. signal/sigaction.c
  9. sysdeps/posix/sigset.c

Other signal function filter out NPTL internal signals.  GLIBC on Linux
requires both signal to proper implement both pthread cancellation, posix
timers, and set*id function and having different semantics is troublesome (a
conformant program on a architecture that does not filter out the signals might
inadvertently disable pthread asynchronous cancellation, set*id synchronization
or posix timers).

Worse, some architecture differ on internal NPTL semantics (the sigprocmask
implementation listed above).

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


More information about the Glibc-bugs mailing list