mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 08:35:09 +00:00
Kernel: Remove sys$shbuf_seal() and userland wrappers
There are no remaining users of this syscall so let it go. :^)
This commit is contained in:
parent
5522e8f59d
commit
05dbfe9ab6
13 changed files with 0 additions and 68 deletions
|
@ -185,17 +185,4 @@ void SharedBuffer::destroy_if_unused()
|
|||
}
|
||||
}
|
||||
|
||||
void SharedBuffer::seal()
|
||||
{
|
||||
LOCKER(shared_buffers().lock());
|
||||
m_writable = false;
|
||||
for (auto& ref : m_refs) {
|
||||
// TODO: Region needs to be RefCounted!
|
||||
if (auto* region = ref.region.unsafe_ptr()) {
|
||||
region->set_writable(false);
|
||||
region->remap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue