1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 11:55:08 +00:00

FileSystem: Route chown() and fchown() through VFS for access control.

This commit is contained in:
Andreas Kling 2019-06-02 12:30:24 +02:00
parent aa35c08633
commit e67bfdb7f6
3 changed files with 13 additions and 8 deletions

View file

@ -70,6 +70,7 @@ public:
KResult chmod(StringView path, mode_t, Custody& base);
KResult fchmod(Inode&, mode_t);
KResult chown(StringView path, uid_t, gid_t, Custody& base);
KResult chown(Inode&, uid_t, gid_t);
KResult access(StringView path, int mode, Custody& base);
KResult stat(StringView path, int options, Custody& base, struct stat&);
KResult utime(StringView path, Custody& base, time_t atime, time_t mtime);