Jiri Kosina 5b24c42162 [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: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-08-03 11:25:12 +01:00
..
2012-05-05 13:00:24 +02:00
2008-10-15 20:55:51 +02:00
2005-04-16 15:20:36 -07:00
2012-06-05 14:10:23 +09:00
nm
2005-04-16 15:20:36 -07:00