summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-07-29 23:14:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-07-29 23:14:07 +0000
commit71b3ce9ed231a30879f9698a18d7de1c90feb10a (patch)
tree360782f8bdb514b69bc1f05cea2791bd92534c01 /lib
parentf9e1a90d048719cdb2087fa8a4dd79f85c55a9f4 (diff)
correct mispellings of EACCES; from Kris Katterjohn
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/crypt/crypt_checkpass.36
-rw-r--r--lib/libc/sys/execve.26
-rw-r--r--lib/libc/sys/pledge.26
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/crypt/crypt_checkpass.3 b/lib/libc/crypt/crypt_checkpass.3
index 15642156b60..9e0561130a1 100644
--- a/lib/libc/crypt/crypt_checkpass.3
+++ b/lib/libc/crypt/crypt_checkpass.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crypt_checkpass.3,v 1.11 2017/07/22 06:39:54 jmc Exp $
+.\" $OpenBSD: crypt_checkpass.3,v 1.12 2019/07/29 23:14:06 deraadt Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@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: July 22 2017 $
+.Dd $Mdocdate: July 29 2019 $
.Dt CRYPT_CHECKPASS 3
.Os
.Sh NAME
@@ -83,7 +83,7 @@ The
function sets
.Va errno
to
-.Er EACCESS
+.Er EACCES
when authentication fails.
.Pp
The
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 7a5ab854249..05d0530ff66 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.51 2017/12/12 01:12:34 deraadt Exp $
+.\" $OpenBSD: execve.2,v 1.52 2019/07/29 23:14:06 deraadt Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)execve.2 8.3 (Berkeley) 1/24/94
.\"
-.Dd $Mdocdate: December 12 2017 $
+.Dd $Mdocdate: July 29 2019 $
.Dt EXECVE 2
.Os
.Sh NAME
@@ -273,7 +273,7 @@ system not allowing such operations, being mounted without the
.Xr mount 8
.Fl o Cm wxallowed
flag.
-.It Bq Er EACCESS
+.It Bq Er EACCES
The parent used
.Xr pledge 2
to declare an
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index d2734cf5451..d0bcc2564d7 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.56 2019/07/25 14:18:01 schwarze Exp $
+.\" $OpenBSD: pledge.2,v 1.57 2019/07/29 23:14:06 deraadt 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: July 25 2019 $
+.Dd $Mdocdate: July 29 2019 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -466,7 +466,7 @@ If
.Ar execpromises
has been previously set the new program begins with those promises,
unless setuid/setgid bits are set in which case execution is blocked with
-.Er EACCESS .
+.Er EACCES .
Otherwise the new program starts running without pledge active,
and hopefully makes a new pledge soon.
.It Va prot_exec