diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-29 13:16:53 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-29 13:16:53 +0100 |
commit | 1f3115617337bee8fbc63f2247118e89f2803d22 (patch) | |
tree | 52554fc7d20af61f3397f8f08b2e2c7f5f91035f /Kernel/Process.h | |
parent | c74cde918a5ef031d5f01c663212b1c909564cf4 (diff) | |
download | serenity-1f3115617337bee8fbc63f2247118e89f2803d22.zip |
Kernel: Add a mode flag to sys$purge and allow purging clean inodes
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r-- | Kernel/Process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h index 40fa865c15..eff6a46674 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -142,7 +142,7 @@ public: int sys$set_mmap_name(void*, size_t, const char*); int sys$mprotect(void*, size_t, int prot); int sys$madvise(void*, size_t, int advice); - int sys$purge(); + int sys$purge(int mode); int sys$select(const Syscall::SC_select_params*); int sys$poll(pollfd*, int nfds, int timeout); ssize_t sys$get_dir_entries(int fd, void*, ssize_t); |