]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] personality: fix personality loss on execve
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 23 Jan 2009 15:40:23 +0000 (16:40 +0100)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 23 Jan 2009 15:40:28 +0000 (16:40 +0100)
commit9f88260aec9bcfa30fb4d9d3480618644f313660
tree4b08234e317091e2bab8998cc256f60e303e3c0a
parent2e1dc5264622ab3af52fd4a25c9eacf812e23eb4
[S390] personality: fix personality loss on execve

Use the personality() macro to mask out all bits that are not
relevant for the personality type.
The personality field contains bits for other things as well,
so without masking out the not relevalent bits the comparison
won't do what is expected.

Reported-by: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/elf.h