mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
elf: Consolidate stackinfo.h
And use sane default the generic implementation. Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
@@ -15,6 +15,15 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This file contains a bit of information about the stack allocation
|
||||
of the processor. Since there is no general truth we can't say
|
||||
anything here. */
|
||||
/* This file contains a bit of information about the stack allocation of the
|
||||
processor. Default to a non executable stack that grows downwards. */
|
||||
|
||||
#ifndef _STACKINFO_H
|
||||
#define _STACKINFO_H 1
|
||||
|
||||
#include <elf.h>
|
||||
|
||||
#define _STACK_GROWS_DOWN 1
|
||||
#define DEFAULT_STACK_PERMS (PF_R|PF_W)
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user