summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-07-30 01:12:43 +0000
committerderaadt <deraadt@openbsd.org>2001-07-30 01:12:43 +0000
commit3a045646842d78ea0cbd032955e80e81462f5f93 (patch)
treeaed2beef544f2fd54f3f2e3b36abde9e2fa907bc /lib/libc
parentsync (diff)
downloadwireguard-openbsd-3a045646842d78ea0cbd032955e80e81462f5f93.tar.xz
wireguard-openbsd-3a045646842d78ea0cbd032955e80e81462f5f93.zip
handling of arg can cause EFAULT; dd@FreeBSD.org
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/ioctl.27
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2
index d90d61eeb63..8aa51ae9261 100644
--- a/lib/libc/sys/ioctl.2
+++ b/lib/libc/sys/ioctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ioctl.2,v 1.10 2000/03/14 21:31:40 aaron Exp $
+.\" $OpenBSD: ioctl.2,v 1.11 2001/07/30 01:12:43 deraadt Exp $
.\" $NetBSD: ioctl.2,v 1.5 1995/02/27 12:33:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -105,8 +105,11 @@ references.
.It Bq Er EINVAL
.Fa request
or
-.Fa argp
+.Fa arg
is not valid.
+.It Bq Er EFAULT
+.Fa arg
+points outside the process's allocated address space.
.El
.Sh SEE ALSO
.Xr cdio 1 ,