Kernel: Implement an axallowed mount option

Similar to `W^X` and `wxallowed`, this allows for anonymous executable
mappings.
This commit is contained in:
Tim Schumacher 2022-05-05 18:30:24 +02:00 committed by Brian Gianforcaro
commit 5efa8e507b
Notes: sideshowbarker 2024-07-17 09:35:47 +09:00
5 changed files with 8 additions and 1 deletions

View file

@ -28,6 +28,7 @@ extern "C" {
#define MS_RDONLY (1 << 4)
#define MS_REMOUNT (1 << 5)
#define MS_WXALLOWED (1 << 6)
#define MS_AXALLOWED (1 << 7)
enum {
_SC_MONOTONIC_CLOCK,