Document additional reasons that sysctl(3) can return ENOMEM (due to

vslock() failure).
This commit is contained in:
Don Lewis 2004-03-15 10:32:37 +00:00
parent ec0791be40
commit c947dc059b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127015

View file

@ -797,6 +797,17 @@ is too large or too small.
The length pointed to by
.Fa oldlenp
is too short to hold the requested value.
.It Bq Er ENOMEM
The smaller of either the length pointed to by
.Fa oldlenp
or the estimated size of the returned data exceeds the
system limit on locked memory.
.It Bq Er ENOMEM
Locking the buffer
.Fa oldp ,
or a portion of the buffer if the estimated size of the data
to be returned is smaller,
would cause the process to exceed its per-process locked memory limit.
.It Bq Er ENOTDIR
The
.Fa name