aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMike Rapoport (Microsoft) <[email protected]>2025-06-03 11:14:42 +0000
committerPeter Zijlstra <[email protected]>2025-06-11 09:20:51 +0000
commit47410d839fcda6890cb82828f874f97710982f24 (patch)
treed3308ba18e69b82b0056cb1f0e50b86406d17a20 /net/unix/af_unix.c
parentx86/mm/pat: don't collapse pages without PSE set (diff)
downloadkernel-47410d839fcda6890cb82828f874f97710982f24.tar.gz
kernel-47410d839fcda6890cb82828f874f97710982f24.zip
x86/Kconfig: only enable ROX cache in execmem when STRICT_MODULE_RWX is set
Currently ROX cache in execmem is enabled regardless of STRICT_MODULE_RWX setting. This breaks an assumption that module memory is writable when STRICT_MODULE_RWX is disabled, for instance for kernel debuggin. Only enable ROX cache in execmem when STRICT_MODULE_RWX is set to restore the original behaviour of module text permissions. Fixes: 64f6a4e10c05 ("x86: re-enable EXECMEM_ROX support") Signed-off-by: Mike Rapoport (Microsoft) <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions