mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
Kernel: Use Userspace<T> for the chroot syscall
This commit is contained in:
parent
20e2a5c111
commit
e8917cc5f3
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
int Process::sys$chroot(const char* user_path, size_t path_length, int mount_flags)
|
||||
int Process::sys$chroot(Userspace<const char*> user_path, size_t path_length, int mount_flags)
|
||||
{
|
||||
if (!is_superuser())
|
||||
return -EPERM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue