From 1d2529b4a13a18900d36f9d3b914b1bca68d962f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 27 Feb 2019 12:32:53 +0100 Subject: Add chown() syscall and a simple /bin/chown program. --- Kernel/VirtualFileSystem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Kernel/VirtualFileSystem.h') diff --git a/Kernel/VirtualFileSystem.h b/Kernel/VirtualFileSystem.h index 895acf87b8..fdaa06d5ad 100644 --- a/Kernel/VirtualFileSystem.h +++ b/Kernel/VirtualFileSystem.h @@ -70,6 +70,7 @@ public: bool unlink(const String& path, Inode& base, int& error); bool rmdir(const String& path, Inode& base, int& error); KResult chmod(const String& path, mode_t, Inode& base); + KResult chown(const String& path, uid_t, gid_t, Inode& base); KResult access(const String& path, int mode, Inode& base); bool stat(const String& path, int& error, int options, Inode& base, struct stat&); KResult utime(const String& path, Inode& base, time_t atime, time_t mtime); -- cgit v1.2.3