From 182016d7c0059e9cfd74124c3d732060d31f3cec Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Tue, 11 Jan 2022 16:51:34 +0100 Subject: Kernel+LibC+LibCore+UE: Implement `fchmodat(2)` This function is an extended version of `chmod(2)` that lets one control whether to dereference symlinks, and specify a file descriptor to a directory that will be used as the base for relative paths. --- Kernel/Process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Process.h') diff --git a/Kernel/Process.h b/Kernel/Process.h index 75f7fc2f6f..3874774186 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -359,7 +359,7 @@ public: ErrorOr sys$rmdir(Userspace pathname, size_t path_length); ErrorOr sys$mount(Userspace); ErrorOr sys$umount(Userspace mountpoint, size_t mountpoint_length); - ErrorOr sys$chmod(Userspace pathname, size_t path_length, mode_t); + ErrorOr sys$chmod(Userspace); ErrorOr sys$fchmod(int fd, mode_t); ErrorOr sys$chown(Userspace); ErrorOr sys$fchown(int fd, UserID, GroupID); -- cgit v1.2.3