mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
Kernel: Remove broken implementation of Unix SHM
This code never worked, as was never used for anything. We can build a much better SHM implementation on top of TmpFS or similar when we get to the point when we need one.
This commit is contained in:
parent
4fa7146da1
commit
7f04334664
11 changed files with 2 additions and 208 deletions
|
@ -45,18 +45,6 @@ int set_mmap_name(void* addr, size_t size, const char* name)
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int shm_open(const char* name, int flags, mode_t mode)
|
||||
{
|
||||
int rc = syscall(SC_shm_open, name, flags, mode);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int shm_unlink(const char* name)
|
||||
{
|
||||
int rc = syscall(SC_shm_unlink, name);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int madvise(void* address, size_t size, int advice)
|
||||
{
|
||||
int rc = syscall(SC_madvise, address, size, advice);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue