mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Kernel+Userland: Refine preventing syscall annotations of Regions option
Instead of using a special case of the annotate_mapping syscall, let's introduce a new prctl option to disallow further annotations of Regions as new syscall Region(s).
This commit is contained in:
parent
08de5abc6d
commit
b27f88f61d
Notes:
sideshowbarker
2024-07-17 07:31:31 +09:00
Author: https://github.com/supercomputer7
Commit: b27f88f61d
Pull-request: https://github.com/SerenityOS/serenity/pull/17096
Reviewed-by: https://github.com/linusg
4 changed files with 23 additions and 6 deletions
|
@ -8,3 +8,5 @@
|
|||
|
||||
#define PR_SET_DUMPABLE 1
|
||||
#define PR_GET_DUMPABLE 2
|
||||
#define PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 3
|
||||
#define PR_GET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue