diff options
author | Liav A <liavalb@gmail.com> | 2023-03-01 21:28:51 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-05 16:55:08 +0100 |
commit | be1d7c325a5e2483038f82d2303a9de3a007be5d (patch) | |
tree | 880cc173491ba86d0162958ecf110f12f0b7e481 /Kernel/API | |
parent | 822164a6864d4e43b09607bc787dac1622ebe6fd (diff) | |
download | serenity-be1d7c325a5e2483038f82d2303a9de3a007be5d.zip |
Kernel: Move process coredump metadata modification to the prctl syscall
Diffstat (limited to 'Kernel/API')
-rw-r--r-- | Kernel/API/Syscall.h | 1 | ||||
-rw-r--r-- | Kernel/API/prctl_numbers.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 4d32782730..70c68838ca 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -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) \ diff --git a/Kernel/API/prctl_numbers.h b/Kernel/API/prctl_numbers.h index 68042deb25..4c5d1603e3 100644 --- a/Kernel/API/prctl_numbers.h +++ b/Kernel/API/prctl_numbers.h @@ -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 |