1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +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:
Andreas Kling 2021-01-17 00:18:01 +01:00
parent 5522e8f59d
commit 05dbfe9ab6
13 changed files with 0 additions and 68 deletions

View file

@ -393,8 +393,6 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
return virt$shbuf_get(arg1, arg2);
case SC_shbuf_release:
return virt$shbuf_release(arg1);
case SC_shbuf_seal:
return virt$shbuf_seal(arg1);
case SC_profiling_enable:
return virt$profiling_enable(arg1);
case SC_profiling_disable:
@ -604,13 +602,6 @@ int Emulator::virt$shbuf_release(int shbuf_id)
return rc;
}
int Emulator::virt$shbuf_seal(int shbuf_id)
{
auto* region = m_mmu.shbuf_region(shbuf_id);
ASSERT(region);
return region->seal();
}
int Emulator::virt$profiling_enable(pid_t pid)
{
return syscall(SC_profiling_enable, pid);