Files
kernel_arpi/include/linux
Rusty Russell 85c898db63 module: clean up RO/NX handling.
Modules have three sections: text, rodata and writable data.  The code
handled the case where these overlapped, however they never can:
debug_align() ensures they are always page-aligned.

This is why we got away with manually traversing the pages in
set_all_modules_text_rw() without rounding.

We create three helper functions: frob_text(), frob_rodata() and
frob_writable_data().  We then call these explicitly at every point,
so it's clear what we're doing.

We also expose module_enable_ro() and module_disable_ro() for
livepatch to use.

Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2015-12-04 22:46:26 +01:00
..
2015-10-17 21:22:08 -07:00
2015-10-27 19:34:54 -07:00
2015-11-06 17:50:42 -08:00
2015-11-07 10:40:47 -07:00
2015-10-18 10:14:39 -07:00
2015-10-31 19:05:59 -04:00
2015-10-30 01:47:27 -04:00
2015-10-23 05:44:28 -07:00
2015-10-13 19:01:25 +02:00
2015-11-09 15:11:24 -08:00
2015-10-27 18:55:31 -07:00
2015-11-06 17:50:42 -08:00
2015-12-04 22:46:26 +01:00
2015-10-20 22:10:45 +08:00
2015-11-06 17:50:42 -08:00
2015-10-22 08:59:18 -07:00
2015-11-05 14:36:09 -05:00
2015-10-19 01:01:21 +02:00
2015-11-20 16:19:54 -08:00
2015-11-04 09:56:16 -07:00
2015-11-13 20:34:33 -05:00