Skip to content
Commit 59e4c3a2 authored by Andreas Schwab's avatar Andreas Schwab Committed by Paul Mackerras
Browse files

powerpc/32: Don't clobber personality flags on exec



Now that ppc32 implements address randomization it also wants to inherit
personality flags like ADDR_NO_RANDOMIZE across exec, for things like
`setarch ppc -R' to work.  But the ppc32 version of SET_PERSONALITY
forcefully sets PER_LINUX, clearing all personality flags.  So be
careful about preserving the flags.

Signed-off-by: default avatarAndreas Schwab <schwab@linux-m68k.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 24f1ce80
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment