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

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

 



Hi Mike,

On Sun, Jan 15, 2012 at 1:43 PM, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> 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

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux