linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sigprocmask(2): add EFAULT as a possible errno value
@ 2012-01-15  0:43 Mike Frysinger
       [not found] ` <1326588223-8739-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2012-01-15  0:43 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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

Signed-off-by: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
---
 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sigprocmask(2): add EFAULT as a possible errno value
       [not found] ` <1326588223-8739-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
@ 2012-04-15 11:25   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2012-04-15 11:25 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Mike,

On Sun, Jan 15, 2012 at 1:43 PM, Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> wrote:
> This func takes pointers, and invalid ones will result in EFAULT.
>
> Signed-off-by: Mike Frysinger <vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
> ---
>  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

Thanks. I've applied a slightly edited version of this for man-pages-3.39.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-15 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15  0:43 [PATCH] sigprocmask(2): add EFAULT as a possible errno value Mike Frysinger
     [not found] ` <1326588223-8739-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2012-04-15 11:25   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).