Kernel: Make the purge() syscall superuser-only

I don't think we need to give unprivileged users access to what is
essentially a kernel testing mechanism.
This commit is contained in:
Andreas Kling 2020-01-02 13:37:23 +01:00
commit 7f843ef3b2
Notes: sideshowbarker 2024-07-19 10:25:48 +09:00
2 changed files with 3 additions and 1 deletions

View file

@ -23,6 +23,6 @@ If no options are specified, all possible memory is released.
## Examples
```sh
$ purge
# purge
Purged page count: 744
```