diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-08-17 00:50:20 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-08-17 00:50:20 +0200 |
commit | 3b661a96effa96d211676181aa5206d1a6e42113 (patch) | |
tree | b6c9fbf5051d09c37e6d6af0423be16cd16158e0 /sys/man/3 | |
parent | 0bc51a90b0e9903ede7edb4750c415e9d6f422c7 (diff) |
kernel: make noswap flag exclude processes from killbig() if not eve, reset noswap flag on exec
Diffstat (limited to 'sys/man/3')
-rw-r--r-- | sys/man/3/proc | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/sys/man/3/proc b/sys/man/3/proc index 2492c69a7..a97a5449e 100644 --- a/sys/man/3/proc +++ b/sys/man/3/proc @@ -301,32 +301,39 @@ This bit is inherited across and .IR exec (2). .TP 10n -.B "close\ \fIn -Close file descriptor -.I n -in the process. -.TP 10n -.B closefiles -Close all open file descriptors in the process. -.TP 10n .B nohang Clear the hang bit. .TP 10n +.B private +Make it impossible to read the process's user memory. +This property is inherited on +.IR fork (2), +cleared on +.IR exec (2), +and is not otherwise resettable. +.TP 10n .B noswap Don't allow this process to be swapped out. This should be used carefully and sparingly or the system could run out of memory. It is meant for processes that can't be -swapped, like the ones implementing the swap device and for -processes containing sensitive data. +swapped, like the local fileserver implementing the swap +device and for processes containing sensitive data. +This property is inherited on +.IR fork (2), +cleared on +.IR exec (2), +and is not otherwise resettable. .TP 10n .B kill Kill the process the next time it crosses the user/kernel boundary. .TP 10n -.B private -Make it impossible to read the process's user memory. -This property is inherited on fork, cleared on -.IR exec (2), -and is not otherwise resettable. +.B "close\ \fIn +Close file descriptor +.I n +in the process. +.TP 10n +.B closefiles +Close all open file descriptors in the process. .TP 10n .B "pri\ \fIn Set the base priority for the process to the integer |