mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Kernel: Use Userspace<T> for the set_mmap_name syscall
This commit is contained in:
parent
7449921f53
commit
d949b2a367
2 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ public:
|
|||
pid_t sys$waitid(Userspace<const Syscall::SC_waitid_params*>);
|
||||
void* sys$mmap(Userspace<const Syscall::SC_mmap_params*>);
|
||||
int sys$munmap(void*, size_t size);
|
||||
int sys$set_mmap_name(const Syscall::SC_set_mmap_name_params*);
|
||||
int sys$set_mmap_name(Userspace<const Syscall::SC_set_mmap_name_params*>);
|
||||
int sys$mprotect(void*, size_t, int prot);
|
||||
int sys$madvise(void*, size_t, int advice);
|
||||
int sys$minherit(void*, size_t, int inherit);
|
||||
|
|
|
@ -331,7 +331,7 @@ int Process::sys$minherit(void* address, size_t size, int inherit)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
int Process::sys$set_mmap_name(const Syscall::SC_set_mmap_name_params* user_params)
|
||||
int Process::sys$set_mmap_name(Userspace<const Syscall::SC_set_mmap_name_params*> user_params)
|
||||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue