Skip to content
Commit 444d13ff authored by Jessica Yu's avatar Jessica Yu Committed by Rusty Russell
Browse files

modules: add ro_after_init support



Add ro_after_init support for modules by adding a new page-aligned section
in the module layout (after rodata) for ro_after_init data and enabling RO
protection for that section after module init runs.

Signed-off-by: default avatarJessica Yu <jeyu@redhat.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent bdc9f373
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment