diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-01 19:38:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-02 11:01:00 +0200 |
commit | e526fa572a9764a8f7a5854e259a9146fdfb13a7 (patch) | |
tree | 3b3b072d445a9787bfeee4f33dbe421efce9b359 /Kernel/Process.h | |
parent | 9bcf0b70cbae0fa1bf31fad9b95b7272991b42e9 (diff) | |
download | serenity-e526fa572a9764a8f7a5854e259a9146fdfb13a7.zip |
Kernel: Convert some more syscalls to Userspace<T>
These are really straightforward when all the helpers just work.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 9f3f2ead8e..1c63a0eb98 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -263,16 +263,16 @@ public: int sys$setresuid(uid_t, uid_t, uid_t); int sys$setresgid(gid_t, gid_t, gid_t); unsigned sys$alarm(unsigned seconds); - int sys$access(const char* pathname, size_t path_length, int mode); + int sys$access(Userspace<const char*> pathname, size_t path_length, int mode); int sys$fcntl(int fd, int cmd, u32 extra_arg); int sys$ioctl(int fd, unsigned request, FlatPtr arg); - int sys$mkdir(const char* pathname, size_t path_length, mode_t mode); + int sys$mkdir(Userspace<const char*> pathname, size_t path_length, mode_t mode); clock_t sys$times(tms*); int sys$utime(Userspace<const char*> pathname, size_t path_length, Userspace<const struct utimbuf*>); int sys$link(const Syscall::SC_link_params*); int sys$unlink(const char* pathname, size_t path_length); int sys$symlink(const Syscall::SC_symlink_params*); - int sys$rmdir(const char* pathname, size_t path_length); + int sys$rmdir(Userspace<const char*> pathname, size_t path_length); int sys$mount(const Syscall::SC_mount_params*); int sys$umount(const char* mountpoint, size_t mountpoint_length); int sys$chmod(const char* pathname, size_t path_length, mode_t); |