diff options
| author | Don Lewis <truckman@FreeBSD.org> | 2004-03-15 10:32:37 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 2004-03-15 10:32:37 +0000 |
| commit | c947dc059b40b84fb44362f33805e05cdfb1ffa1 (patch) | |
| tree | 8fc65e44f581bc247f41463f9e7e7ddde08f38b5 /lib | |
| parent | ec0791be40ce8a0d950a8641748fe064ef462a67 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/gen/sysctl.3 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index e91cd55512e7..945d21853b72 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -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 |
