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

@ -287,6 +287,7 @@ public:
check(MS_BIND, "bind");
check(MS_RDONLY, "ro");
check(MS_WXALLOWED, "wxallowed");
check(MS_AXALLOWED, "axallowed");
if (builder.string_view().is_empty())
return String("defaults");
return builder.to_string();