1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

Kernel: Remove unused syscall sys$minherit()

This is no longer used. We can bring it back the day we need it.
This commit is contained in:
Andreas Kling 2021-01-16 14:41:58 +01:00
parent de31e82f97
commit 43109f9614
8 changed files with 0 additions and 60 deletions

View file

@ -93,12 +93,6 @@ int madvise(void* address, size_t size, int advice)
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int minherit(void* address, size_t size, int inherit)
{
int rc = syscall(SC_minherit, address, size, inherit);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
void* allocate_tls(size_t size)
{
int rc = syscall(SC_allocate_tls, size);

View file

@ -49,8 +49,6 @@
#define MADV_SET_NONVOLATILE 0x200
#define MADV_GET_VOLATILE 0x400
#define MAP_INHERIT_ZERO 1
__BEGIN_DECLS
void* mmap(void* addr, size_t, int prot, int flags, int fd, off_t);
@ -61,7 +59,6 @@ int munmap(void*, size_t);
int mprotect(void*, size_t, int prot);
int set_mmap_name(void*, size_t, const char*);
int madvise(void*, size_t, int advice);
int minherit(void*, size_t, int inherit);
void* allocate_tls(size_t);
__END_DECLS