]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
um: Don't mark stack executable
authorRichard Weinberger <richard@nod.at>
Sat, 26 Jul 2025 12:29:30 +0000 (14:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2025 12:24:13 +0000 (14:24 +0200)
commitc45601306aa5831c3e59158f95b8e34f27e9ea09
tree5ff0cb5427e6becf1c3677730b414b2808dc7c2f
parent76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c
um: Don't mark stack executable

On one of my machines UML failed to start after enabling
SELinux.
UML failed to start because SELinux's execmod rule denies
executable pages on a modified file mapping.

Historically UML marks it's stack rwx.
AFAICT, these days this is no longer needed, so let's remove
PROT_EXEC.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/os-Linux/util.c