linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
To: <mtk.manpages@gmail.com>
Cc: <linux-man@vger.kernel.org>
Subject: Re: [PATCH] userfaultfd.2: add EPERM error
Date: Mon, 6 Jan 2020 14:16:26 +0800	[thread overview]
Message-ID: <27c9ce8e-c9da-967b-f354-35c2b9978252@cn.fujitsu.com> (raw)
In-Reply-To: <1576649587-20008-1-git-send-email-xuyang2018.jy@cn.fujitsu.com>

Hi
Ping.
> Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
> ---
>   man2/userfaultfd.2 | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2
> index 8d0a66ed9..2b432f043 100644
> --- a/man2/userfaultfd.2
> +++ b/man2/userfaultfd.2
> @@ -440,6 +440,11 @@ reached.
>   .TP
>   .B ENOMEM
>   Insufficient kernel memory was available.
> +.TP
> +.B EPERM
> +Unprivileged user(without SYS_CAP_PTRACE capability) uses this call when
> +set unprivileged_userfaultfd to 0. It was introduced since Linux 5.2.
> +.\" cefdca0a86be517bc390fc4541e3674b8e7803b0
>   .SH VERSIONS
>   The
>   .BR userfaultfd ()
> 



  reply	other threads:[~2020-01-06  6:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18  6:13 [PATCH] userfaultfd.2: add EPERM error Yang Xu
2020-01-06  6:16 ` Yang Xu [this message]
2020-01-21 21:05 ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27c9ce8e-c9da-967b-f354-35c2b9978252@cn.fujitsu.com \
    --to=xuyang2018.jy@cn.fujitsu.com \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).