diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-16 19:59:01 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-16 19:59:01 (GMT) |
commit | 5ae1d95568f647f890167877287fc4f54b7bdb2b (patch) | |
tree | 3be7ecd4ede8ddfe542b535f32448e9352961d80 /arch | |
parent | 11557b24fdec13cb1c3d5f681688401a651ed54e (diff) | |
parent | 22208ac586f2e456c49e927b90ded50e923b6aee (diff) | |
download | linux-fsl-qoriq-5ae1d95568f647f890167877287fc4f54b7bdb2b.tar.xz |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] preserve personality flag bits across exec
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/include/asm/elf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/elf.h b/arch/ia64/include/asm/elf.h index e14108b..4c41656 100644 --- a/arch/ia64/include/asm/elf.h +++ b/arch/ia64/include/asm/elf.h @@ -201,7 +201,9 @@ extern void ia64_elf_core_copy_regs (struct pt_regs *src, elf_gregset_t dst); relevant until we have real hardware to play with... */ #define ELF_PLATFORM NULL -#define SET_PERSONALITY(ex) set_personality(PER_LINUX) +#define SET_PERSONALITY(ex) \ + set_personality((current->personality & ~PER_MASK) | PER_LINUX) + #define elf_read_implies_exec(ex, executable_stack) \ ((executable_stack!=EXSTACK_DISABLE_X) && ((ex).e_flags & EF_IA_64_LINUX_EXECUTABLE_STACK) != 0) |