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-03-28 18:30:02 +01:00
2011-03-31 11:26:23 -03:00
2012-05-07 11:38:46 +02:00
2012-07-05 15:09:13 -06:00
2012-03-28 18:30:02 +01:00
2012-06-01 12:58:52 -04:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:02 +01:00