From 43b8c5db9252151d3e76cefa28cf29ef103e5fb0 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Sun, 29 Jul 2001 09:16:07 +0000 Subject: [PATCH] ioctl(2) can return EFAULT from copyin. PR: 29285 Submitted by: Philipp Mergenthaler --- lib/libc/sys/ioctl.2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index fe1fea2ac9a..f5e49d107a4 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 ,