Oleg Nesterov
2ae1f49ae1
uprobes/x86: Add is_64bit_mm(), kill validate_insn_bits()
...
1. Extract the ->ia32_compat check from 64bit validate_insn_bits()
into the new helper, is_64bit_mm(), it will have more users.
TODO: this checks is actually wrong if mm owner is X32 task,
we need another fix which changes set_personality_ia32().
TODO: even worse, the whole 64-or-32-bit logic is very broken
and the fix is not simple, we need the nontrivial changes in
the core uprobes code.
2. Kill validate_insn_bits() and change its single caller to use
uprobe_init_insn(is_64bit_mm(mm).
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Jim Keniston <jkenisto@us.ibm.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
2014-04-30 19:10:33 +02:00
..
2014-04-08 13:25:25 +02:00
2014-04-11 11:58:33 -07:00
2014-04-25 10:04:22 +02:00
2014-04-17 10:57:02 +02:00
2013-09-28 10:09:41 +02:00
2012-11-17 11:59:10 -08:00
2014-04-01 13:54:00 -07:00
2013-10-17 16:40:47 -07:00
2014-03-18 14:26:12 -06:00
2013-08-06 14:20:20 -07:00
2013-06-06 14:32:04 -07:00
2013-05-02 11:27:35 -07:00
2013-09-25 14:07:57 +02:00
2014-01-21 16:19:47 -08:00
2014-03-20 13:43:42 +01:00
2014-03-13 15:32:44 -07:00
2013-11-07 10:34:46 -06:00
2014-01-06 21:25:18 -08:00
2014-04-01 10:17:18 -07:00
2014-04-02 11:46:50 -07:00
2013-11-12 21:06:06 +01:00
2014-01-21 16:19:47 -08:00
2013-11-12 11:12:22 +09:00
2014-04-14 08:50:56 +02:00
2014-01-09 13:24:29 -08:00
2014-01-09 13:24:29 -08:00
2014-03-07 10:06:16 -05:00
2013-10-17 16:40:47 -07:00
2013-11-08 14:15:45 -08:00
2014-03-07 18:58:40 -08:00
2014-03-07 18:58:40 -08:00
2013-02-27 13:38:57 -08:00
2014-04-07 14:55:46 -07:00
2014-01-06 21:25:18 -08:00
2013-09-25 14:23:07 +02:00
2014-03-11 12:32:52 -07:00
2013-09-04 07:46:04 +02:00
2013-02-03 18:16:24 -05:00
2014-01-08 14:36:29 -08:00
2014-03-10 17:32:01 -07:00
2013-10-01 12:53:25 +02:00
2013-08-06 14:18:23 -07:00
2014-04-02 09:49:47 +02:00
2014-01-12 13:13:02 +01:00
2013-10-19 19:45:35 -04:00
2014-01-06 21:25:18 -08:00
2014-01-03 14:37:13 +00:00
2014-02-22 15:53:32 +01:00
2014-02-22 15:53:32 +01:00
2014-04-11 10:10:09 -07:00
2014-01-06 21:25:18 -08:00
2014-02-25 16:57:47 -08:00
2014-03-18 12:51:52 -07:00
2013-07-14 19:36:56 -04:00
2014-03-24 10:18:26 -07:00
2014-03-20 13:43:42 +01:00
2014-02-09 13:17:22 +01:00
2013-08-09 07:54:00 -07:00
2013-09-04 09:46:43 -07:00
2014-04-10 19:51:32 -07:00
2014-02-11 09:40:15 +01:00
2014-01-06 21:25:18 -08:00
2012-09-19 17:08:40 +02:00
2013-09-25 14:23:07 +02:00
2012-09-05 10:52:25 +02:00
2014-03-06 16:56:55 -08:00
2013-11-14 16:55:56 +09:00
2014-02-11 09:58:28 +01:00
2014-03-06 16:56:55 -08:00
2013-11-06 09:49:02 +02:00
2014-03-14 11:05:36 +01:00
2014-04-16 08:56:09 +02:00
2013-06-25 16:26:06 -07:00
2013-06-20 21:30:04 -07:00
2013-11-12 11:12:22 +09:00
2014-04-02 13:15:58 -07:00
2013-09-04 11:08:32 -07:00
2013-08-06 14:18:23 -07:00
2014-04-01 10:17:18 -07:00
2013-01-22 10:08:00 -08:00
2013-08-22 10:19:35 -07:00
2013-08-06 14:20:18 -07:00
2013-08-06 14:20:18 -07:00
2013-08-02 16:17:47 -07:00
2013-10-03 07:51:11 +02:00
2013-08-02 16:17:47 -07:00
2013-07-31 14:25:51 +02:00
2014-04-01 11:22:57 -07:00
2013-03-03 22:58:33 -05:00
2013-09-30 19:55:51 +02:00
2012-11-13 15:48:27 -05:00
2013-07-16 15:14:48 -07:00
2013-12-12 14:46:42 +01:00
2014-02-19 17:12:24 +01:00
2014-01-06 21:25:18 -08:00
2014-04-02 12:26:43 -07:00
2014-04-30 19:10:33 +02:00
2013-05-02 20:36:32 -04:00
2014-03-18 12:52:44 -07:00
2014-01-29 22:17:17 -08:00
2014-04-07 14:55:46 -07:00
2014-03-18 12:52:41 -07:00
2013-12-13 08:44:30 -07:00
2013-09-25 14:23:07 +02:00
2013-12-06 17:17:42 -08:00