This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/20375] New: posix_spawn fails when full signal set passed to posix_spawnattr_setsigdefault and POSIX_SPAWN_SETSIGDEF is set


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

            Bug ID: 20375
           Summary: posix_spawn fails when full signal set passed to
                    posix_spawnattr_setsigdefault and
                    POSIX_SPAWN_SETSIGDEF is set
           Product: glibc
           Version: 2.23
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: kb9vqf at pearsoncomputing dot net
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 9392
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9392&action=edit
Test program showing the problem

Processes launched via posix_spawn immediately fail with exit code 127 if both
of the following conditions are met:
1.) A full signal set is passed to posix_spawnattr_setsigdefault
2.) The POSIX_SPAWN_SETSIGDEF flag is set

I have attached a test program showing the problem.  Commenting out the
POSIX_SPAWN_SETSIGDEF line results in the expected "ls" output.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]