From be1d7c325a5e2483038f82d2303a9de3a007be5d Mon Sep 17 00:00:00 2001 From: Liav A Date: Wed, 1 Mar 2023 21:28:51 +0200 Subject: Kernel: Move process coredump metadata modification to the prctl syscall --- Kernel/API/Syscall.h | 1 - Kernel/API/prctl_numbers.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/API') 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 -- cgit v1.2.3