[PATCH] sigprocmask(2): add EFAULT as a possible errno value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


This func takes pointers, and invalid ones will result in EFAULT.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 man2/sigprocmask.2 |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2
index bd4065d..14222b6 100644
--- a/man2/sigprocmask.2
+++ b/man2/sigprocmask.2
@@ -92,6 +92,14 @@ is unspecified in a multithreaded process; see
 .BR sigprocmask ()
 returns 0 on success and \-1 on error.
 .SH ERRORS
+.TP
+.B EFAULT
+The specified
+.I set
+or
+.I oldset
+pointed outside the process's allocated address space.
+.TP
 .B EINVAL
 The value specified in
 .I how
-- 
1.7.8.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

Add to Google Powered by Linux