commit | 5b24c421621792fcc588af6f644d6acf2dd798cc | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Thu Aug 02 15:33:59 2012 +0200 |
committer | James Bottomley <JBottomley@Parallels.com> | Fri Aug 03 11:25:12 2012 +0100 |
tree | bc89e67b20c47a8bacde1b82d087054e941aee24 | |
parent | bba3d8c3b3c0f2123be5bc687d1cddc13437c923 [diff] |
[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>