diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-17 08:51:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-17 09:07:32 +0100 |
commit | bf0719092fc5769f568c87671172b5a43d17c038 (patch) | |
tree | c4367db04c024fc0016e4ddc2502537c2e28e883 /Kernel/Syscalls/fork.cpp | |
parent | 2cd16778b5aab88ba90a70aa438febcd4b619d1e (diff) | |
download | serenity-bf0719092fc5769f568c87671172b5a43d17c038.zip |
Kernel+Userland: Remove shared buffers (shbufs)
All users of this mechanism have been switched to anonymous files and
passing file descriptors with sendfd()/recvfd().
Shbufs got us where we are today, but it's time we say good-bye to them
and welcome a much more idiomatic replacement. :^)
Diffstat (limited to 'Kernel/Syscalls/fork.cpp')
-rw-r--r-- | Kernel/Syscalls/fork.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Kernel/Syscalls/fork.cpp b/Kernel/Syscalls/fork.cpp index dbf9cfdeba..05e61b3c58 100644 --- a/Kernel/Syscalls/fork.cpp +++ b/Kernel/Syscalls/fork.cpp @@ -27,7 +27,6 @@ #include <Kernel/FileSystem/Custody.h> #include <Kernel/FileSystem/FileDescription.h> #include <Kernel/Process.h> -#include <Kernel/SharedBuffer.h> #include <Kernel/VM/Region.h> //#define FORK_DEBUG @@ -80,8 +79,6 @@ pid_t Process::sys$fork(RegisterState& regs) dbgln("fork: child will begin executing at {:04x}:{:08x} with stack {:04x}:{:08x}, kstack {:04x}:{:08x}", child_tss.cs, child_tss.eip, child_tss.ss, child_tss.esp, child_tss.ss0, child_tss.esp0); #endif - SharedBuffer::share_all_shared_buffers(*this, *child); - { ScopedSpinLock lock(m_lock); for (auto& region : m_regions) { |