s390/32: Don't clobber personality flags on exec
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 28 Aug 2012 08:02:08 +0000 (10:02 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 30 Aug 2012 14:28:07 +0000 (16:28 +0200)
commit768fd0737f4533635ea351566dff98fd4912b0d8
treed6bf61b076364476af6e4c91bad505ed19933390
parent29a877fa1f402ce2c1a0c52957c4e29b9bb34216
s390/32: Don't clobber personality flags on exec

In native 32 bit mode the personality flags were not correctly inherited.
This is the s390 version of 59e4c3a2 "powerpc/32: Don't clobber personality
flags on exec".

Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/elf.h