mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:18:12 +00:00
Add chown() syscall and a simple /bin/chown program.
This commit is contained in:
parent
711e2b2651
commit
1d2529b4a1
19 changed files with 130 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue