1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

Kernel: Move process coredump metadata modification to the prctl syscall

This commit is contained in:
Liav A 2023-03-01 21:28:51 +02:00 committed by Andreas Kling
parent 822164a686
commit be1d7c325a
8 changed files with 17 additions and 38 deletions

View file

@ -155,7 +155,6 @@ enum class NeedsBigProcessLock {
S(scheduler_set_parameters, NeedsBigProcessLock::No) \
S(sendfd, NeedsBigProcessLock::No) \
S(sendmsg, NeedsBigProcessLock::Yes) \
S(set_coredump_metadata, NeedsBigProcessLock::No) \
S(set_mmap_name, NeedsBigProcessLock::Yes) \
S(set_process_name, NeedsBigProcessLock::No) \
S(set_thread_name, NeedsBigProcessLock::No) \

View file

@ -10,3 +10,4 @@
#define PR_GET_DUMPABLE 2
#define PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 3
#define PR_GET_NO_NEW_SYSCALL_REGION_ANNOTATIONS 4
#define PR_SET_COREDUMP_METADATA_VALUE 5