mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 04:01:10 +00:00
hurd: Fix libsupport xsigstack build
Hurd does not support MAP_NORESERVE and MAP_STACK. Checked on i686-gnu build. * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they are not defined.
This commit is contained in:
parent
8e889c5da3
commit
3367acdb34
@ -1,5 +1,8 @@
|
|||||||
2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
|
* support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
|
||||||
|
are not defined.
|
||||||
|
|
||||||
[BZ #24122]
|
[BZ #24122]
|
||||||
* elf/Makefile (tests): Add tst-audit13.
|
* elf/Makefile (tests): Add tst-audit13.
|
||||||
(modules-names): Add tst-audit13mod1.
|
(modules-names): Add tst-audit13mod1.
|
||||||
|
@ -26,6 +26,13 @@
|
|||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <sys/param.h> /* roundup, MAX */
|
#include <sys/param.h> /* roundup, MAX */
|
||||||
|
|
||||||
|
#ifndef MAP_NORESERVE
|
||||||
|
# define MAP_NORESERVE 0
|
||||||
|
#endif
|
||||||
|
#ifndef MAP_STACK
|
||||||
|
# define MAP_STACK 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The "cookie" returned by xalloc_sigstack points to one of these
|
/* The "cookie" returned by xalloc_sigstack points to one of these
|
||||||
structures. */
|
structures. */
|
||||||
struct sigstack_desc
|
struct sigstack_desc
|
||||||
|
Loading…
Reference in New Issue
Block a user