summaryrefslogtreecommitdiff
path: root/Kernel/VirtualFileSystem.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-27 12:32:53 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-27 12:32:53 +0100
commit1d2529b4a13a18900d36f9d3b914b1bca68d962f (patch)
treed3be7621ba3c925321aabe609d6622f41887cfe8 /Kernel/VirtualFileSystem.h
parent711e2b2651505da91cef983df130118bc6b709d8 (diff)
downloadserenity-1d2529b4a13a18900d36f9d3b914b1bca68d962f.zip
Add chown() syscall and a simple /bin/chown program.
Diffstat (limited to 'Kernel/VirtualFileSystem.h')
-rw-r--r--Kernel/VirtualFileSystem.h1
1 files changed, 1 insertions, 0 deletions
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);