diff options
author | jilles <jilles@FreeBSD.org> | 2012-09-27 17:48:04 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-09-27 17:48:04 +0000 |
commit | e4c096aeb4d0889884334130ea1e8ab58ca88a8d (patch) | |
tree | 73af5747ca62feb897ee5a912157eb8bf53920b0 /lib/libc/sys/sigwaitinfo.2 | |
parent | 3646977f282c6d3373dd9fb627f5cfc7c84e95a2 (diff) | |
download | FreeBSD-src-e4c096aeb4d0889884334130ea1e8ab58ca88a8d.zip FreeBSD-src-e4c096aeb4d0889884334130ea1e8ab58ca88a8d.tar.gz |
sigaction(2),sigwait(2),sigwaitinfo(2): Remove [EFAULT] error condition.
Passing an invalid pointer results in undefined behaviour.
The wrappers in libthr access some of the data pointed to by the arguments
in userland, so that an invalid pointer will cause a signal and not an
[EFAULT] error return.
Furthermore, if the [EFAULT] error occurs when the kernel is writing, it is
not a proper error in the sense that the call still commits (changing the
signal disposition or accepting the signal).
MFC after: 1 week
Diffstat (limited to 'lib/libc/sys/sigwaitinfo.2')
-rw-r--r-- | lib/libc/sys/sigwaitinfo.2 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/sys/sigwaitinfo.2 b/lib/libc/sys/sigwaitinfo.2 index a83de06..9109759 100644 --- a/lib/libc/sys/sigwaitinfo.2 +++ b/lib/libc/sys/sigwaitinfo.2 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 24, 2011 +.Dd September 27, 2012 .Dt SIGTIMEDWAIT 2 .Os .Sh NAME @@ -172,9 +172,6 @@ system calls fail if: .Bl -tag -width Er .It Bq Er EINTR The wait was interrupted by an unblocked, caught signal. -.It Bq Er EFAULT -Any arguments point outside the allocated address space or there is a -memory protection fault. .Pp .El The |