mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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: Jiri Kosina <[email protected]> Signed-off-by: James Bottomley <[email protected]>