summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-29 09:16:07 +0000
committerdd <dd@FreeBSD.org>2001-07-29 09:16:07 +0000
commit8497298808d313badf04dab49bbbbd12a6bafa79 (patch)
tree7fa4d8b7920838a065eca5cf730a8f9dad45d206
parenta12e9377b2092a09630cc31908b4fedb790238a2 (diff)
downloadFreeBSD-src-8497298808d313badf04dab49bbbbd12a6bafa79.zip
FreeBSD-src-8497298808d313badf04dab49bbbbd12a6bafa79.tar.gz
ioctl(2) can return EFAULT from copyin.
PR: 29285 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
-rw-r--r--lib/libc/sys/ioctl.23
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2
index fe1fea2..f5e49d1 100644
--- a/lib/libc/sys/ioctl.2
+++ b/lib/libc/sys/ioctl.2
@@ -131,6 +131,9 @@ references.
or
.Fa argp
is not valid.
+.It Bq Er EFAULT
+.Fa Argp
+points outside the process's allocated address space.
.El
.Sh SEE ALSO
.Xr mt 1 ,
OpenPOWER on IntegriCloud