diff options
author | 2015-10-12 01:17:08 +0000 | |
---|---|---|
committer | 2015-10-12 01:17:08 +0000 | |
commit | df89aeecde41b35f8dae23f4c736b3b9900f1b84 (patch) | |
tree | c146d82b6cdf932c430fa3d5d40462f2108d68e8 /lib | |
parent | remove useless quoting from .Fo arguments; forgotten diff found in my tree (diff) | |
download | wireguard-openbsd-df89aeecde41b35f8dae23f4c736b3b9900f1b84.tar.xz wireguard-openbsd-df89aeecde41b35f8dae23f4c736b3b9900f1b84.zip |
make description of ERRORS more complete;
diff from Benny Lofgren <bl dash lists at lofgren dot biz>;
ok nicm@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/pledge.2 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2 index 578f3e4a515..3f08aa86a8d 100644 --- a/lib/libc/sys/pledge.2 +++ b/lib/libc/sys/pledge.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pledge.2,v 1.1 2015/10/09 01:24:57 deraadt Exp $ +.\" $OpenBSD: pledge.2,v 1.2 2015/10/12 01:17:08 schwarze Exp $ .\" .\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 9 2015 $ +.Dd $Mdocdate: October 12 2015 $ .Dt PLEDGE 2 .Os .Sh NAME @@ -424,15 +424,22 @@ will fail if: .Bl -tag -width Er .It Bq Er EFAULT .Fa paths +or one of its elements, or +.Fa request points outside the process's allocated address space. +.It Bq Er EINVAL +.Ar request +is malformed or contains invalid keywords. .It Bq Er ENAMETOOLONG An element of .Fa paths -is too large, or prepending +is too large, prepending .Fa cwd to it would exceed .Dv PATH_MAX -bytes. +bytes, or +.Fa request +is too long. .It Bq Er EPERM This process is attempting to increase permissions. .It Bq Er E2BIG |