mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 00:20:29 +00:00
Document additional reasons that sysctl(3) can return ENOMEM (due to
vslock() failure).
This commit is contained in:
parent
ec0791be40
commit
c947dc059b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127015
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue