diff options
Diffstat (limited to 'include/linux/elf.h')
-rw-r--r-- | include/linux/elf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h index 8c9048e33463..40a3c0e01b2b 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h | |||
@@ -10,6 +10,10 @@ | |||
10 | Override in asm/elf.h as needed. */ | 10 | Override in asm/elf.h as needed. */ |
11 | # define elf_read_implies_exec(ex, have_pt_gnu_stack) 0 | 11 | # define elf_read_implies_exec(ex, have_pt_gnu_stack) 0 |
12 | #endif | 12 | #endif |
13 | #ifndef SET_PERSONALITY | ||
14 | #define SET_PERSONALITY(ex) \ | ||
15 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) | ||
16 | #endif | ||
13 | 17 | ||
14 | #if ELF_CLASS == ELFCLASS32 | 18 | #if ELF_CLASS == ELFCLASS32 |
15 | 19 | ||