mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
Kernel: Use Userspace<T> for the mount syscall
This commit is contained in:
parent
3fb62e8c63
commit
7e7ee2ec94
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$mount(const Syscall::SC_mount_params* user_params)
|
||||
int Process::sys$mount(Userspace<const Syscall::SC_mount_params*> user_params)
|
||||
{
|
||||
if (!is_superuser())
|
||||
return -EPERM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue