1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:58:12 +00:00

Kernel+LibC: Unify sys$open() and sys$openat()

The syscall is now called sys$open(), but it behaves like the old sys$openat().
In userspace, open_with_path_length() is made a wrapper over openat_with_path_length().
This commit is contained in:
Sergey Bugaev 2020-01-17 21:48:44 +03:00 committed by Andreas Kling
parent d6184afcae
commit e0013a6b4c
4 changed files with 4 additions and 66 deletions

View file

@ -145,7 +145,6 @@ public:
pid_t sys$getppid();
mode_t sys$umask(mode_t);
int sys$open(const Syscall::SC_open_params*);
int sys$openat(const Syscall::SC_openat_params*);
int sys$close(int fd);
ssize_t sys$read(int fd, u8*, ssize_t);
ssize_t sys$write(int fd, const u8*, ssize_t);