Re: [PATCH] modules: always page-align module section allocations

2019-07-30 Thread Jessica Yu
+++ Jessica Yu [24/07/19 17:01 +0200]: Some arches (e.g., arm64, x86) have moved towards non-executable module_alloc() allocations for security hardening reasons. That means that the module loader will need to set the text section of a module to executable, regardless of whether or not

Re: [PATCH] modules: always page-align module section allocations

2019-07-25 Thread Bartosz Golaszewski
śr., 24 lip 2019 o 17:02 Jessica Yu napisał(a): > > Some arches (e.g., arm64, x86) have moved towards non-executable > module_alloc() allocations for security hardening reasons. That means > that the module loader will need to set the text section of a module to > executable, regardless of

[PATCH] modules: always page-align module section allocations

2019-07-24 Thread Jessica Yu
Some arches (e.g., arm64, x86) have moved towards non-executable module_alloc() allocations for security hardening reasons. That means that the module loader will need to set the text section of a module to executable, regardless of whether or not CONFIG_STRICT_MODULE_RWX is set. When