Rabin Vincent
ab0615e2d6
arm: use fixmap for text patching when text is RO
...
Use fixmaps for text patching when the kernel text is read-only,
inspired by x86. This makes jump labels and kprobes work with the
currently available CONFIG_DEBUG_SET_MODULE_RONX and the upcoming
CONFIG_DEBUG_RODATA options.
Signed-off-by: Rabin Vincent <rabin@rab.in >
[kees: fixed up for merge with "arm: use generic fixmap.h"]
[kees: added parse acquire/release annotations to pass C=1 builds]
[kees: always use stop_machine to keep TLB flushing local]
Signed-off-by: Kees Cook <keescook@chromium.org >
Acked-by: Nicolas Pitre <nico@linaro.org >
2014-10-16 14:38:53 -07:00
..
2013-10-09 16:54:10 -07:00
2014-09-16 16:09:30 +01:00
2014-07-11 04:57:31 -07:00
2012-09-03 22:55:56 +01:00
2014-06-01 01:17:12 +01:00
2013-04-09 14:13:32 -04:00
2013-07-26 14:55:59 +01:00
2014-05-30 10:50:57 -06:00
2014-08-09 14:07:59 +01:00
2012-03-21 01:59:40 -04:00
2014-04-07 12:10:00 +01:00
2014-07-18 12:29:04 +01:00
2014-07-29 21:26:49 -06:00
2009-12-24 18:34:08 +00:00
2011-09-13 11:12:14 +02:00
2013-04-29 18:28:13 -07:00
2012-03-28 18:30:01 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-08-27 15:40:13 +01:00
2013-12-29 12:32:32 +00:00
2013-12-29 12:32:34 +00:00
2013-08-20 00:11:50 +01:00
2014-07-18 12:29:04 +01:00
2014-04-23 01:24:31 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-07-18 12:29:04 +01:00
2014-04-23 01:24:14 +01:00
2014-04-07 14:55:46 -07:00
2014-08-07 11:35:30 -07:00
2012-03-30 11:51:46 +01:00
2012-03-24 09:38:56 +00:00
2014-01-28 14:06:25 +00:00
2014-09-02 20:55:25 +01:00
2014-06-06 16:08:15 -07:00
2014-08-05 10:27:13 +01:00
2014-10-16 14:38:53 -07:00
2014-08-02 15:20:30 +01:00
2014-03-18 16:39:40 -04:00
2014-04-01 16:45:19 +03:00
2014-07-02 12:48:36 +01:00
2014-04-01 16:48:26 +03:00
2014-09-30 16:55:24 +01:00
2014-09-30 16:55:24 +01:00
2014-04-01 16:45:19 +03:00
2014-04-01 16:45:19 +03:00
2014-03-18 16:39:40 -04:00
2014-04-22 22:23:58 +01:00
2014-06-05 12:35:52 +01:00
2014-08-27 15:40:11 +01:00
2011-12-13 08:52:02 +00:00
2014-10-16 14:38:53 -07:00
2014-10-16 14:38:53 -07:00
2014-09-16 16:09:33 +01:00
2014-07-02 15:48:25 +01:00
2014-07-02 15:48:26 +01:00
2014-07-02 15:48:25 +01:00
2014-08-05 10:27:25 +01:00
2013-09-30 16:41:50 +01:00
2014-04-25 12:07:34 +01:00
2014-07-02 12:48:36 +01:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-03-18 16:39:40 -04:00
2014-04-01 16:45:19 +03:00
2014-03-18 16:39:40 -04:00
2014-09-16 16:09:32 +01:00
2014-05-15 10:16:30 -04:00
2014-05-15 10:16:00 -04:00
2014-06-29 10:29:35 +01:00
2014-07-18 12:29:04 +01:00
2013-03-19 11:43:46 +00:00
2014-07-18 12:29:51 +01:00
2014-03-18 16:39:40 -04:00
2013-11-30 22:21:00 +00:00
2014-07-18 12:29:04 +01:00
2014-08-02 08:51:53 +01:00
2014-07-24 14:40:26 +01:00
2014-03-19 14:10:24 +01:00
2014-08-07 20:40:41 -04:00
2014-05-30 01:12:32 +01:00
2013-07-30 09:00:43 -04:00
2014-09-12 17:38:58 +01:00
2012-11-28 22:13:54 -05:00
2014-04-22 08:23:58 -04:00
2013-12-11 09:53:14 +00:00
2014-09-16 16:09:32 +01:00
2014-07-18 12:29:14 +01:00
2014-07-02 08:33:48 +02:00
2014-09-16 16:09:32 +01:00
2014-07-18 12:29:16 +01:00
2014-03-18 16:39:40 -04:00
2014-05-25 23:48:45 +01:00
2014-03-18 16:39:40 -04:00
2013-09-02 13:49:29 +01:00
2014-07-18 12:29:23 +01:00
2011-10-31 19:30:48 -04:00