mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:37:34 +00:00
Kernel+Userland: Implement mknod() syscall and add a /bin/mknod program.
This commit is contained in:
parent
abb5c890e0
commit
8b249bd09b
15 changed files with 107 additions and 14 deletions
|
@ -76,6 +76,7 @@ public:
|
|||
KResult stat(StringView path, int options, Inode& base, struct stat&);
|
||||
KResult utime(StringView path, Inode& base, time_t atime, time_t mtime);
|
||||
KResult rename(StringView oldpath, StringView newpath, Inode& base);
|
||||
KResult mknod(StringView path, mode_t, dev_t, Inode& base);
|
||||
KResultOr<Retained<Inode>> open_directory(StringView path, Inode& base);
|
||||
|
||||
void register_device(Device&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue