This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/20375] New: posix_spawn fails when full signal set passed to posix_spawnattr_setsigdefault and POSIX_SPAWN_SETSIGDEF is set
- From: "kb9vqf at pearsoncomputing dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 15 Jul 2016 19:44:54 +0000
- Subject: [Bug libc/20375] New: posix_spawn fails when full signal set passed to posix_spawnattr_setsigdefault and POSIX_SPAWN_SETSIGDEF is set
- Auto-submitted: auto-generated
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.