Jiri Kosina
a27032eee8
sparc64: do not clobber personality flags in sys_sparc64_personality()
...
There are multiple errors in how sys_sparc64_personality() handles
personality flags stored in top three bytes.
- directly comparing current->personality against PER_LINUX32 doesn't work
in cases when any of the personality flags stored in the top three bytes
are used.
- directly forcefully setting personality to PER_LINUX32 or PER_LINUX
discards any flags stored in the top three bytes
Fix the first one by properly using personality() macro to compare only
PER_MASK bytes.
Fix the second one by setting only the bits that should be set, instead of
overwriting the whole value.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-02 00:26:50 -07:00
..
2011-10-31 19:30:54 -04:00
2012-05-12 00:23:23 -07:00
2011-03-30 17:37:56 -07:00
2011-10-31 19:30:54 -04:00
2012-05-10 11:00:46 -07:00
2011-06-07 16:06:34 -07:00
2012-05-27 23:52:45 -07:00
2011-10-31 19:30:53 -04:00
2009-06-16 04:56:28 -07:00
2012-05-11 19:27:46 -07:00
2011-10-31 19:30:54 -04:00
2012-04-13 13:32:07 -07:00
2011-10-31 19:30:53 -04:00
2011-11-17 22:44:58 -08:00
2012-05-27 23:52:49 -07:00
2012-05-27 23:52:49 -07:00
2010-04-12 22:37:26 -07:00
2012-07-26 16:46:15 -07:00
2012-05-19 23:26:41 -07:00
2010-08-08 22:07:36 -07:00
2011-10-31 19:30:53 -04:00
2011-08-02 21:28:52 -07:00
2012-05-11 20:45:18 -07:00
2012-03-28 16:36:34 +02:00
2012-05-28 00:07:03 -07:00
2012-05-27 23:52:44 -07:00
2012-05-12 00:35:45 -07:00
2012-05-14 14:05:09 -07:00
2012-03-29 22:40:52 -07:00
2012-05-27 23:52:42 -07:00
2012-03-28 18:30:03 +01:00
2012-03-29 22:40:52 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 02:04:29 -07:00
2011-08-05 00:53:57 -07:00
2012-07-19 10:40:30 -04:00
2010-03-30 22:02:32 +09:00
2012-07-26 16:46:16 -07:00
2011-10-31 19:30:53 -04:00
2012-07-05 15:09:13 -06:00
2012-05-27 23:52:53 -07:00
2012-05-27 23:52:48 -07:00
2012-05-27 23:52:53 -07:00
2011-10-31 19:30:52 -04:00
2012-05-15 11:23:47 -07:00
2012-03-28 18:30:03 +01:00
2012-04-15 10:28:49 -07:00
2012-07-06 07:16:34 -05:00
2011-10-31 19:30:53 -04:00
2009-06-16 04:56:49 -07:00
2011-06-07 16:06:34 -07:00
2011-10-31 19:30:52 -04:00
2012-06-13 15:42:24 -06:00
2011-05-16 13:38:07 -07:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2011-10-31 19:30:52 -04:00
2012-03-28 16:36:34 +02:00
2012-07-10 08:36:09 -06:00
2012-07-05 15:31:05 -06:00
2012-03-28 18:30:03 +01:00
2012-05-09 15:23:12 +02:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:53 -04:00
2012-07-26 16:49:40 -07:00
2012-03-28 18:30:03 +01:00
2011-10-31 19:30:54 -04:00
2011-10-31 19:30:54 -04:00
2012-05-29 12:47:38 -07:00
2011-06-07 16:06:34 -07:00
2010-10-10 21:53:30 -06:00
2011-06-07 16:06:34 -07:00
2010-07-24 09:58:22 -06:00
2012-03-28 18:30:03 +01:00
2012-04-18 12:24:50 +10:00
2012-03-28 18:30:03 +01:00
2012-05-27 23:52:49 -07:00
2012-04-13 13:56:46 -07:00
2011-10-31 19:30:52 -04:00
2012-07-26 16:46:16 -07:00
2012-03-28 18:30:03 +01:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:52 -04:00
2012-06-01 12:58:52 -04:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2011-08-20 17:14:54 -07:00
2012-05-21 19:43:57 -07:00
2012-06-05 17:27:13 +02:00
2012-05-14 13:31:38 -07:00
2012-03-28 18:30:03 +01:00
2011-08-02 21:28:52 -07:00
2011-10-31 19:30:53 -04:00
2011-01-03 20:02:06 -07:00
2012-05-14 14:05:08 -07:00
2012-05-21 19:43:57 -07:00
2012-05-14 14:05:08 -07:00
2012-05-21 19:43:57 -07:00
2011-08-26 15:09:58 -07:00
2012-05-15 14:08:35 -07:00
2012-05-21 23:59:23 -04:00
2012-08-02 00:26:50 -07:00
2010-03-03 08:08:49 -08:00
2011-12-21 14:29:42 -08:00
2011-11-01 00:51:30 -07:00
2012-05-11 10:56:56 +01:00
2010-03-12 15:52:32 -08:00
2010-10-09 02:33:34 -06:00
2012-05-14 14:05:09 -07:00
2011-10-31 19:30:53 -04:00
2012-05-27 23:52:47 -07:00
2012-05-15 11:23:47 -07:00
2012-05-25 00:31:56 -07:00
2010-02-19 15:19:52 -08:00
2012-05-19 23:27:25 -07:00
2012-05-19 23:26:41 -07:00
2011-02-01 12:39:59 -08:00
2011-03-16 18:19:15 -07:00
2012-03-28 18:30:03 +01:00
2012-04-13 13:32:07 -07:00
2011-06-07 16:06:34 -07:00
2011-06-07 16:06:34 -07:00
2012-06-24 11:03:52 -07:00
2011-10-31 19:30:53 -04:00
2012-03-28 18:30:03 +01:00
2012-05-27 23:52:43 -07:00
2010-11-17 08:59:32 -08:00
2012-05-27 23:52:49 -07:00
2012-05-27 23:52:49 -07:00