Skip to content
Commit 5b24c421 authored by Jiri Kosina's avatar Jiri Kosina Committed by James Bottomley
Browse files

[PARISC] fix personality flag check in copy_thread()



Directly comparing task_struct->personality against PER_* is not fully
correct, as it doesn't take flags potentially stored in top three bytes
into account.

Analogically, directly forcefully setting personality to PER_LINUX32 or
PER_LINUX discards any flags stored in the top three bytes.

Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent bba3d8c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment