diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-06-19 12:00:13 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-06-19 12:00:13 +0000 |
commit | 21f8859dd08fd231198eda4095061837d527b926 (patch) | |
tree | 665630983166c66aee1242bad7c96d1b361110a3 /ChangeLog | |
parent | a66bc30d6b19ca6c9c77c0d3750acb18c691705f (diff) | |
download | glibc-21f8859dd08fd231198eda4095061837d527b926.tar glibc-21f8859dd08fd231198eda4095061837d527b926.tar.gz glibc-21f8859dd08fd231198eda4095061837d527b926.tar.bz2 glibc-21f8859dd08fd231198eda4095061837d527b926.zip |
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].
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2017-06-19 Joseph Myers <joseph@codesourcery.com> + [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]. + [BZ #21575] * resource/bits/types/struct_rusage.h: New file. * include/bits/types/struct_rusage.h: Likewise. |