summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-10 19:32:40 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-10 19:49:49 +0100
commit580a94bc44bcea61bf1b07abf24c1b00e43a1d64 (patch)
treec2f78a376958434b3b6c97ab191755762f216d22 /Kernel/Process.h
parentb67035c3ac5659b26d88c91d03eda6bf19c35df3 (diff)
downloadserenity-580a94bc44bcea61bf1b07abf24c1b00e43a1d64.zip
Kernel+LibC: Merge sys$stat() and sys$lstat()
There is now only one sys$stat() instead of two separate syscalls.
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index e9156e4209..01c7c5d3f6 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -195,8 +195,7 @@ public:
ssize_t sys$write(int fd, const u8*, ssize_t);
ssize_t sys$writev(int fd, const struct iovec* iov, int iov_count);
int sys$fstat(int fd, stat*);
- int sys$lstat(const char*, size_t, stat*);
- int sys$stat(const char*, size_t, stat*);
+ int sys$stat(const Syscall::SC_stat_params*);
int sys$lseek(int fd, off_t, int whence);
int sys$kill(pid_t pid, int sig);
[[noreturn]] void sys$exit(int status);