1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 12:57:35 +00:00

Kernel: Add file permission checks to utime() syscall.

This commit is contained in:
Andreas Kling 2019-02-21 16:37:41 +01:00
parent f0a869ea50
commit a624fe06b8
3 changed files with 27 additions and 12 deletions

View file

@ -70,6 +70,7 @@ public:
bool rmdir(const String& path, Inode& base, int& error);
bool chmod(const String& path, mode_t, Inode& base, int& error);
bool stat(const String& path, int& error, int options, Inode& base, struct stat&);
bool utime(const String& path, int& error, Inode& base, time_t atime, time_t mtime);
void register_device(Device&);
void unregister_device(Device&);