summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-12-25 12:11:27 +0200
committerLinus Groh <mail@linusgroh.de>2023-02-24 22:26:07 +0100
commitbedd90b1f07e2da8326f2e520c985431fda73a25 (patch)
tree8aca50cf6a0f25c56d334d0fa74d0f0a5914b602 /Kernel/Process.cpp
parent727218ff4a3302b6f12337dce894e59a4ab75457 (diff)
downloadserenity-bedd90b1f07e2da8326f2e520c985431fda73a25.zip
Kernel: Properly lock Process protected data in the prctl syscall
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 923028fe4f..449772a36d 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -1017,13 +1017,6 @@ bool Process::add_thread(Thread& thread)
return is_first;
}
-void Process::set_dumpable(bool dumpable)
-{
- with_mutable_protected_data([&](auto& protected_data) {
- protected_data.dumpable = dumpable;
- });
-}
-
ErrorOr<void> Process::set_coredump_property(NonnullOwnPtr<KString> key, NonnullOwnPtr<KString> value)
{
return m_coredump_properties.with([&](auto& coredump_properties) -> ErrorOr<void> {