This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21584] sigaltstack etc namespace
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 19 Jun 2017 12:01:22 +0000
- Subject: [Bug libc/21584] sigaltstack etc namespace
- Auto-submitted: auto-generated
- References: <bug-21584-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21584
--- 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 21f8859dd08fd231198eda4095061837d527b926 (commit)
from a66bc30d6b19ca6c9c77c0d3750acb18c691705f (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=21f8859dd08fd231198eda4095061837d527b926
commit 21f8859dd08fd231198eda4095061837d527b926
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Jun 19 12:00:13 2017 +0000
Fix signal stack namespace (bug 21584).
In POSIX.1:2008, various signal stack symbols - sigaltstack, SS_*,
SIGSTKSZ, MINSIGSTKSZ - are all XSI-shaded. glibc wrongly makes them
visible for non-XSI POSIX. This patch fixes the conditionals, leaving
the symbols available for __USE_MISC as it seems likely some of them
are widely used and should be visible by default. (Note that stack_t
is *not* XSI-shaded and so the conditionals on that are correctly
unchanged.)
Tested for x86_64.
[BZ #21584]
* signal/signal.h: Make includes of <bits/sigstack.h> and
<bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
__USE_MISC].
(sigaltstack): Make declaration conditional on
[__USE_XOPEN_EXTENDED || __USE_MISC].
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
signal/signal.h | 10 ++++++----
2 files changed, 13 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.