Oleg Nesterov
06d0713904
uprobes: Change unregister/apply to WARN() if uprobe/consumer is gone
...
Add WARN_ON's into uprobe_unregister() and uprobe_apply() to ensure
that nobody tries to play with the dead uprobe/consumer. This helps
to catch the bugs like the one fixed by the previous patch.
In the longer term we should fix this poorly designed interface.
uprobe_register() should return "struct uprobe *" which should be
passed to apply/unregister. Plus other semantic changes, see the
changelog in commit 41ccba029e94.
Link: http://lkml.kernel.org/p/20140627170140.GA18322@redhat.com
Acked-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2014-06-30 13:22:15 -04:00
..
2014-06-04 16:54:17 -07:00
2014-06-30 13:22:15 -04:00
2014-06-10 15:34:46 -07:00
2014-05-27 10:16:44 +02:00
2014-06-12 18:48:15 -07:00
2014-06-12 13:43:08 +02:00
2014-06-04 16:54:17 -07:00
2014-06-03 12:57:53 -07:00
2014-06-12 19:42:15 -07:00
2014-06-04 16:55:13 -07:00
2014-06-30 13:21:58 -04:00
2013-12-10 18:21:34 +00:00
2014-06-06 16:08:14 -07:00
2013-03-12 13:59:14 -07:00
2014-02-18 11:17:17 +01:00
2014-02-18 11:17:17 +01:00
2014-06-12 14:27:40 -07:00
2014-03-20 10:10:53 -04:00
2014-04-12 12:38:53 -07:00
2014-06-10 08:44:40 -07:00
2014-06-04 16:54:14 -07:00
2013-12-20 12:25:45 -08:00
2014-06-10 13:57:22 -07:00
2014-05-16 13:22:48 -04:00
2014-06-09 15:03:33 -07:00
2014-06-04 16:54:19 -07:00
2013-05-01 17:29:18 -04:00
2014-05-05 16:07:46 -07:00
2014-06-12 13:14:19 -07:00
2014-06-09 15:03:33 -07:00
2013-11-13 12:09:12 +09:00
2013-11-09 00:16:23 -05:00
2014-06-04 16:54:15 -07:00
2014-06-06 16:08:11 -07:00
2014-02-13 18:13:22 -08:00
2014-06-21 00:15:12 -04:00
2013-12-19 13:50:32 -05:00
2014-02-02 14:09:12 -08:00
2014-06-08 11:31:16 -07:00
2014-04-03 16:21:05 -07:00
2014-06-06 07:55:06 +02:00
2014-06-04 16:54:15 -07:00
2014-02-21 21:49:07 +01:00
2013-10-19 19:45:35 -04:00
2014-04-07 16:36:11 -07:00
2013-11-15 09:32:22 +09:00
2014-06-06 07:58:28 +02:00
2014-06-06 16:08:12 -07:00
2014-06-06 16:08:12 -07:00
2014-04-24 10:26:41 +02:00
2014-04-25 12:00:49 -07:00
2014-06-04 16:53:51 -07:00
2014-06-04 16:54:15 -07:00
2014-03-31 14:13:25 -07:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2014-06-11 16:09:14 -07:00
2014-04-24 10:26:39 +02:00
2013-09-07 14:35:32 -07:00
2013-12-05 21:28:42 +08:00
2014-06-06 16:08:12 -07:00
2014-04-28 11:48:34 +09:30
2014-04-02 16:20:21 -07:00
2013-09-30 14:31:03 -07:00
2013-12-09 16:56:29 +01:00
2013-04-18 12:51:19 +02:00
2014-06-06 16:08:13 -07:00
2014-03-06 15:35:10 +01:00
2013-06-18 11:32:10 -05:00
2014-06-04 16:54:15 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-05-23 10:47:21 -06:00
2014-06-12 14:27:40 -07:00
2014-06-06 16:08:12 -07:00
2014-06-06 16:08:12 -07:00
2013-07-14 19:36:59 -04:00
2014-05-22 11:36:10 +02:00
2014-06-04 16:54:15 -07:00
2014-06-04 16:54:14 -07:00
2014-05-22 11:16:36 +02:00
2013-11-13 12:09:33 +09:00
2014-06-12 14:27:40 -07:00
2013-12-10 18:25:28 +00:00
2013-12-10 18:25:28 +00:00
2013-09-11 15:58:27 -07:00
2013-11-19 16:39:05 -05:00
2013-04-29 18:28:42 -07:00
2013-06-19 12:58:42 +02:00
2014-04-30 13:46:17 +02:00
2014-05-14 09:46:30 -07:00
2014-06-21 00:15:26 -04:00
2013-08-30 23:44:11 -07:00
2014-02-24 14:47:15 -08:00
2014-06-06 16:08:13 -07:00
2013-02-27 19:10:24 -08:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2013-08-30 23:44:11 -07:00
2014-04-18 16:40:08 -07:00
2014-05-20 10:59:32 -04:00
2014-06-09 14:56:49 -07:00