diff options
Diffstat (limited to 'include/linux/elf.h')
-rw-r--r-- | include/linux/elf.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h index 67a5fa7830c4..20fa8d8ae313 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h | |||
@@ -15,6 +15,11 @@ | |||
15 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) | 15 | set_personality(PER_LINUX | (current->personality & (~PER_MASK))) |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #ifndef SET_PERSONALITY2 | ||
19 | #define SET_PERSONALITY2(ex, state) \ | ||
20 | SET_PERSONALITY(ex) | ||
21 | #endif | ||
22 | |||
18 | #if ELF_CLASS == ELFCLASS32 | 23 | #if ELF_CLASS == ELFCLASS32 |
19 | 24 | ||
20 | extern Elf32_Dyn _DYNAMIC []; | 25 | extern Elf32_Dyn _DYNAMIC []; |