diff options
Diffstat (limited to 'sysdeps/arm/stackinfo.h')
-rw-r--r-- | sysdeps/arm/stackinfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/arm/stackinfo.h b/sysdeps/arm/stackinfo.h index 3068352..30608f7 100644 --- a/sysdeps/arm/stackinfo.h +++ b/sysdeps/arm/stackinfo.h @@ -26,8 +26,8 @@ /* On Arm the stack grows down. */ #define _STACK_GROWS_DOWN 1 -/* Default to an executable stack. PF_X can be overridden if PT_GNU_STACK is - * present, but it is presumed absent. */ -#define DEFAULT_STACK_PERMS (PF_R|PF_W|PF_X) +/* Default to an executable stack. PROT_EXEC can be overridden if PT_GNU_STACK + * is present, but it is presumed absent. */ +#define DEFAULT_STACK_PROT_PERMS (PROT_READ|PROT_WRITE|PROT_EXEC) #endif /* stackinfo.h */ |