This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21340] Support POSIX_SPAWN_SETSID
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 25 Apr 2017 12:10:03 +0000
- Subject: [Bug libc/21340] Support POSIX_SPAWN_SETSID
- Auto-submitted: auto-generated
- References: <bug-21340-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21340
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 249548e476495e4714ba1f4593ebc04ce5dc2094 (commit)
via daeb1fa2e1b33323e719015f5f546988bd4cc73b (commit)
from 9581e76dbb4a8dad8a4493ef6833685153edd1d9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=249548e476495e4714ba1f4593ebc04ce5dc2094
commit 249548e476495e4714ba1f4593ebc04ce5dc2094
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Mon Apr 24 09:43:41 2017 -0300
posix: Remove ununsed posix_spawn internal assignment
The internal 'ret' variable in '__spawni_child' function is not
used after assignment in most cases.
Checked on x86_64-linux-gnu.
* sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
assignment.
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=daeb1fa2e1b33323e719015f5f546988bd4cc73b
commit daeb1fa2e1b33323e719015f5f546988bd4cc73b
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Fri Apr 21 10:40:56 2017 -0300
[BZ 21340] add support for POSIX_SPAWN_SETSID
This patch adds support for the POSIX_SPAWN_SETSID flag.
It was recently accepted by the Austin Group:
http://austingroupbugs.net/view.php?id=1044
Checked on x86_64
Daurnimator <quae@daurnimator.com>
Adhemerval Zanella <adhemerval.zanella@linaro.org>
[BZ #21340]
* posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
* posix/spawn.h: define POSIX_SPAWN_SETSID flag.
* posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
valid flags.
* posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
* sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
POSIX_SPAWN_SETSID.
* sysdeps/posix/spawni.c (__spawni): Likewise.
* sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
* NEWS: Add note about POSIX_SPAWN_SETSID support.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 20 ++++++++
NEWS | 5 ++
posix/Makefile | 2 +-
posix/spawn.h | 1 +
posix/spawnattr_setflags.c | 1 +
posix/tst-posix_spawn-setsid.c | 95 ++++++++++++++++++++++++++++++++++++++
sysdeps/mach/hurd/spawni.c | 3 +
sysdeps/posix/spawni.c | 7 ++-
sysdeps/unix/sysv/linux/spawni.c | 34 +++++++------
9 files changed, 150 insertions(+), 18 deletions(-)
create mode 100644 posix/tst-posix_spawn-setsid.c
--
You are receiving this mail because:
You are on the CC list for the bug.