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

Kernel+LibC: Merge sys$stat() and sys$lstat()

There is now only one sys$stat() instead of two separate syscalls.
This commit is contained in:
Andreas Kling 2020-02-10 19:32:40 +01:00
parent b67035c3ac
commit 580a94bc44
4 changed files with 24 additions and 35 deletions

View file

@ -56,7 +56,6 @@ typedef u32 socklen_t;
__ENUMERATE_SYSCALL(mmap) \
__ENUMERATE_SYSCALL(munmap) \
__ENUMERATE_SYSCALL(get_dir_entries) \
__ENUMERATE_SYSCALL(lstat) \
__ENUMERATE_SYSCALL(getcwd) \
__ENUMERATE_SYSCALL(gettimeofday) \
__ENUMERATE_SYSCALL(gethostname) \
@ -413,6 +412,12 @@ struct SC_waitid_params {
int options;
};
struct SC_stat_params {
StringArgument path;
struct stat* statbuf;
bool follow_symlinks;
};
void initialize();
int sync();