From: Tony Luck Date: Fri, 12 Feb 2010 16:17:58 +0000 (-0800) Subject: [IA64] preserve personality flag bits across exec X-Git-Tag: v2.6.33~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22208ac586f2e456c49e927b90ded50e923b6aee;p=pandora-kernel.git [IA64] preserve personality flag bits across exec In its ia64 defines SET_PERSONALITY in a way that unconditionally sets the personality of the current process to PER_LINUX, losing any flag bits from the upper 3 bytes of current->personality. This is wrong. Those bits are intended to be inherited across exec (other code takes care of ensuring that security sensitive bits like ADDR_NO_RANDOMIZE are not passed to unsuspecting setuid/setgid applications). Signed-off-by: Tony Luck --- Reading git-diff-tree failed