Revision 1c0d52b9b5e6ca277c13d6fece9c34ed3159423d authored by David Daney on 02 November 2010, 00:43:07 UTC, committed by Ralf Baechle on 16 December 2010, 18:10:54 UTC
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>
1 parent 1d21038
History
File Mode Size
.gitignore -rw-r--r-- 14 bytes
IRQ-redir.txt -rw-r--r-- 2.5 KB
Makefile -rw-r--r-- 218 bytes
README -rw-r--r-- 1.2 KB
aliasing-test.c -rw-r--r-- 6.0 KB
aliasing.txt -rw-r--r-- 8.5 KB
efirtc.txt -rw-r--r-- 4.3 KB
err_inject.txt -rw-r--r-- 25.2 KB
fsys.txt -rw-r--r-- 11.8 KB
kvm.txt -rw-r--r-- 3.0 KB
mca.txt -rw-r--r-- 8.8 KB
paravirt_ops.txt -rw-r--r-- 6.2 KB
serial.txt -rw-r--r-- 6.3 KB
xen.txt -rw-r--r-- 5.5 KB

README

back to top