diff options
author | Tony Luck <tony.luck@intel.com> | 2010-02-12 08:17:58 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-02-12 08:17:58 -0800 |
commit | 22208ac586f2e456c49e927b90ded50e923b6aee (patch) | |
tree | cb6b44f91c6f5f83307082d90fa7c314e75d08cb /firmware | |
parent | deb0c98c7f6035d47a247e548384517a955314a5 (diff) | |
download | linux-3.10-22208ac586f2e456c49e927b90ded50e923b6aee.tar.gz linux-3.10-22208ac586f2e456c49e927b90ded50e923b6aee.tar.bz2 linux-3.10-22208ac586f2e456c49e927b90ded50e923b6aee.zip |
[IA64] preserve personality flag bits across exec
In its <asm/elf.h> 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 <tony.luck@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions