Kernel: Use Userspace<T> for the chroot syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:39:05 -07:00 committed by Andreas Kling
commit e8917cc5f3
Notes: sideshowbarker 2024-07-19 04:04:33 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -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;