diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-27 12:32:53 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-27 12:32:53 +0100 |
commit | 1d2529b4a13a18900d36f9d3b914b1bca68d962f (patch) | |
tree | d3be7621ba3c925321aabe609d6622f41887cfe8 /Kernel/VirtualFileSystem.h | |
parent | 711e2b2651505da91cef983df130118bc6b709d8 (diff) | |
download | serenity-1d2529b4a13a18900d36f9d3b914b1bca68d962f.zip |
Add chown() syscall and a simple /bin/chown program.
Diffstat (limited to 'Kernel/VirtualFileSystem.h')
-rw-r--r-- | Kernel/VirtualFileSystem.h | 1 |
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); |