Skip to content
Commit 03e4c49f authored by Heiko Carstens's avatar Heiko Carstens
Browse files

[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: default avatarAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent f3b8436a
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