public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Keno Fischer <keno-9DCaDmOhoh+8M3too/+dENBPR1lH4CV8@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 1/2] prctl.2: Be more precise in what causes dumpable to reset
Date: Tue, 27 Dec 2016 16:52:16 -0500	[thread overview]
Message-ID: <20161227215216.GA1211@juliacomputing.com> (raw)

---
 man2/prctl.2 | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/man2/prctl.2 b/man2/prctl.2
index 26ac5d4..4e037e4 100644
--- a/man2/prctl.2
+++ b/man2/prctl.2
@@ -216,7 +216,7 @@ However, it is reset to the current value contained in the file
 in the following circumstances:
 .\" See kernel/cred.c::commit_creds() (Linux 3.18 sources)
 .RS
-.IP * 3
+.IP * 4
 The process's effective user or group ID is changed.
 .IP *
 The process's filesystem user or group ID is changed (see
@@ -224,9 +224,15 @@ The process's filesystem user or group ID is changed (see
 .IP *
 The process executes
 .RB ( execve (2))
-a set-user-ID or set-group-ID program,
-or a program that has capabilities (see
-.BR capabilities (7)).
+a set-user-ID or set-group-ID program, resuling in a change
+of either effective user or group id.
+.IP *
+The process executes
+.RB ( execve (2))
+a program that has file capabilities (see
+.BR capabilities (7)),
+but only if the permitted capabilities
+gained exceed those already permitted for the current process.
 .\" Also certain namespace operations;
 .RE
 .IP
-- 
2.8.1

--
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

             reply	other threads:[~2016-12-27 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-27 21:52 Keno Fischer [this message]
     [not found] ` <20161227215216.GA1211-9DCaDmOhoh+8M3too/+dENBPR1lH4CV8@public.gmane.org>
2016-12-28 10:15   ` [PATCH 1/2] prctl.2: Be more precise in what causes dumpable to reset 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=20161227215216.GA1211@juliacomputing.com \
    --to=keno-9dcadmohoh+8m3too/+denbpr1lh4cv8@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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