From: David Daney Date: Tue, 2 Nov 2010 00:43:07 +0000 (-0700) Subject: MIPS: Don't clobber personality high bits. X-Git-Tag: v2.6.37-rc7~25^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c0d52b9b5e6ca277c13d6fece9c34ed3159423d;p=pandora-kernel.git 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 Signed-off-by: David Daney Cc: Camm Maguire Patchwork: https://patchwork.linux-mips.org/patch/1750/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed