mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +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
|
@ -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);
|
||||
|
|
|
@ -95,7 +95,6 @@ private:
|
|||
int virt$shbuf_allow_pid(int, pid_t peer_pid);
|
||||
FlatPtr virt$shbuf_get(int shbuf_id, FlatPtr size);
|
||||
int virt$shbuf_release(int shbuf_id);
|
||||
int virt$shbuf_seal(int shbuf_id);
|
||||
int virt$profiling_enable(pid_t);
|
||||
int virt$profiling_disable(pid_t);
|
||||
int virt$disown(pid_t);
|
||||
|
|
|
@ -109,11 +109,6 @@ int SharedBufferRegion::allow_pid(pid_t pid)
|
|||
return syscall(SC_shbuf_allow_pid, m_shbuf_id, pid);
|
||||
}
|
||||
|
||||
int SharedBufferRegion::seal()
|
||||
{
|
||||
return syscall(SC_shbuf_seal, m_shbuf_id);
|
||||
}
|
||||
|
||||
int SharedBufferRegion::release()
|
||||
{
|
||||
return syscall(SC_shbuf_release, m_shbuf_id);
|
||||
|
|
|
@ -52,7 +52,6 @@ public:
|
|||
int shbuf_id() const { return m_shbuf_id; }
|
||||
|
||||
int allow_pid(pid_t);
|
||||
int seal();
|
||||
int release();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue