1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

Kernel: Use Userspace<T> for the chmod syscall

This commit is contained in:
Brian Gianforcaro 2020-08-09 15:09:10 -07:00 committed by Andreas Kling
parent 82bf6e8133
commit 2bac7190c8
2 changed files with 2 additions and 2 deletions

View file

@ -286,7 +286,7 @@ public:
int sys$rmdir(Userspace<const char*> pathname, size_t path_length);
int sys$mount(Userspace<const Syscall::SC_mount_params*>);
int sys$umount(Userspace<const char*> mountpoint, size_t mountpoint_length);
int sys$chmod(const char* pathname, size_t path_length, mode_t);
int sys$chmod(Userspace<const char*> pathname, size_t path_length, mode_t);
int sys$fchmod(int fd, mode_t);
int sys$chown(Userspace<const Syscall::SC_chown_params*>);
int sys$fchown(int fd, uid_t, gid_t);