diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-11-02 01:43:07 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-12-16 19:10:54 +0100 |
commit | 1c0d52b9b5e6ca277c13d6fece9c34ed3159423d (patch) | |
tree | 81ffb96ca45de9cdeff0bae2759c1b220d87f1be /arch/mips/kernel/linux32.c | |
parent | MIPS: jz4740: Fix section mismatch in prom.c (diff) | |
download | linux-1c0d52b9b5e6ca277c13d6fece9c34ed3159423d.tar.xz linux-1c0d52b9b5e6ca277c13d6fece9c34ed3159423d.zip |
MIPS: Don't clobber personality high bits.
The high bits of current->personality carry settings that we don't want to
clobber on each exec. Only clobber them if the lower bits that indicate
either PER_LINUX or PER_LINUX32 are invalid.
The clobbering prevents us from using useful bits like ADDR_NO_RANDOMIZE.
Reported-by: Camm Maguire <camm@maguirefamily.org>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Camm Maguire <camm@maguirefamily.org>
Patchwork: https://patchwork.linux-mips.org/patch/1750/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/linux32.c')
0 files changed, 0 insertions, 0 deletions