diff options
| author | Wes Peters <wes@FreeBSD.org> | 2003-03-31 21:09:57 +0000 |
|---|---|---|
| committer | Wes Peters <wes@FreeBSD.org> | 2003-03-31 21:09:57 +0000 |
| commit | f4cf2141f68adca84d7feb50a32502027ca1a61a (patch) | |
| tree | f83c7306439c7baa61bbd7bf0a72fa416688f426 /lib/libc | |
| parent | 59f47d29b7b5f0772d194cb018775f8a4b55444b (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/madvise.2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2 index 27a032ff3626..d783ea02c842 100644 --- a/lib/libc/sys/madvise.2 +++ b/lib/libc/sys/madvise.2 @@ -117,6 +117,12 @@ system calls. Region is not included in a core file. .It Dv MADV_CORE Include region in a core file. +.It Dv MADV_PROTECT +Informs the VM system this process should not be killed when the +swap space is exhausted. +The process must have superuser privileges. +This should be used judiciously in processes that must remain running +for the system to properly function. .El .Sh RETURN VALUES .Rv -std madvise @@ -131,6 +137,9 @@ The virtual address range specified by the and .Fa len arguments is not valid. +.It Bq Er EPERM +.Dv MADV_PROTECT +was specified and the process does not have superuser privileges. .El .Sh SEE ALSO .Xr mincore 2 , |
