mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
Kernel: Support chdir() to a directory that's executable but not readable.
Also the superuser should be allowed to resolve any possible path without getting tripped up by EACCES.
This commit is contained in:
parent
4f9b6a88a6
commit
f75eb9af16
Notes:
sideshowbarker
2024-07-19 15:34:21 +09:00
Author: https://github.com/awesomekling
Commit: f75eb9af16
3 changed files with 19 additions and 8 deletions
|
@ -75,6 +75,7 @@ public:
|
|||
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);
|
||||
KResultOr<Retained<Inode>> open_directory(const String& path, Inode& base);
|
||||
|
||||
void register_device(Device&);
|
||||
void unregister_device(Device&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue