From: Andy Lutomirski <luto@kernel.org>
To: Andrew Morton <akpm@linuxfoundation.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>,
Serge Hallyn <serge.hallyn@ubuntu.com>,
James Morris <james.l.morris@oracle.com>,
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
Ted Ts'o <tytso@mit.edu>, "Andrew G. Morgan" <morgan@kernel.org>,
Linux API <linux-api@vger.kernel.org>,
Mimi Zohar <zohar@linux.vnet.ibm.com>,
Michael Kerrisk <mtk.manpages@gmail.com>,
Austin S Hemmelgarn <ahferroin7@gmail.com>,
linux-security-module <linux-security-module@vger.kernel.org>,
Aaron Jones <aaronmdjones@gmail.com>,
Serge Hallyn <serge.hallyn@canonical.com>,
LKML <linux-kernel@vger.kernel.org>,
Markku Savela <msa@moth.iki.fi>,
Kees Cook <keescook@chromium.org>,
Jonathan Corbet <corbet@lwn.net>,
Christoph Lameter <cl@linux.com>,
Andy Lutomirski <luto@kernel.org>
Subject: [PATCH v4 0/2] capabilities: Ambient capability patchset
Date: Tue, 14 Jul 2015 12:46:14 -0700 [thread overview]
Message-ID: <cover.1436903028.git.luto@kernel.org> (raw)
This adds ambient capabilities. See the individual patch changelogs
for details.
Preliminary userspace code is here, but it needs updating:
https://git.kernel.org/cgit/linux/kernel/git/luto/util-linux-playground.git/commit/?h=cap_ambient&id=7f5afbd175d2
Changes from v3:
- Rename PR_CAP_AMBIENT_READ to PR_CAP_AMBIENT_IS_SET (Michael Kerrisk)
- Add PR_CAP_AMBIENT_CLEAR_ALL (Michael Kerrisk)
- Add acks from v2
Changes from v2:
- Improve the patch 1 changelog a bit.
- Add acks.
- Add comment clarifying the pE' rule.
- s/except/expect
Changes from v1:
- Lots of cleanups to the ambient cap code.
- The securebit is new.
Andy Lutomirski (2):
capabilities: Ambient capabilities
capabilities: Add a securebit to disable PR_CAP_AMBIENT_RAISE
fs/proc/array.c | 5 +-
include/linux/cred.h | 8 ++++
include/uapi/linux/prctl.h | 7 +++
include/uapi/linux/securebits.h | 11 ++++-
kernel/user_namespace.c | 1 +
security/commoncap.c | 103 ++++++++++++++++++++++++++++++++++++----
security/keys/process_keys.c | 1 +
7 files changed, 124 insertions(+), 12 deletions(-)
--
2.4.3
next reply other threads:[~2015-07-14 19:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 19:46 Andy Lutomirski [this message]
2015-07-14 19:46 ` [PATCH v4 1/2] capabilities: Ambient capabilities Andy Lutomirski
[not found] ` <9f660ee708e58892bfa7012b6b9c840298e24544.1436903028.git.luto-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-07-15 11:13 ` James Morris
2015-07-15 11:13 ` James Morris
[not found] ` <alpine.LRH.2.11.1507152033420.8351-gx6/JNMH7DfYtjvyW6yDsg@public.gmane.org>
2015-07-15 17:09 ` Andy Lutomirski
2015-07-15 17:09 ` Andy Lutomirski
[not found] ` <CALCETrWMBZ0p7P1FvtrYp5ChJXvvRzy0JpjS8KwUUa5m9gqgQA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-17 20:40 ` Christoph Lameter
2015-07-17 20:40 ` Christoph Lameter
[not found] ` <alpine.DEB.2.11.1507171539590.13763-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2015-07-17 20:50 ` Andrew Morton
2015-07-17 20:50 ` Andrew Morton
2015-07-17 23:10 ` Kees Cook
[not found] ` <CAGXu5j+V0fMae5OOHwU5DcMrG0TCANYOTfbz5+LDZZqYKcXAaw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-17 23:21 ` Andy Lutomirski
2015-07-17 23:21 ` Andy Lutomirski
2015-07-14 19:46 ` [PATCH v4 2/2] capabilities: Add a securebit to disable PR_CAP_AMBIENT_RAISE Andy Lutomirski
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=cover.1436903028.git.luto@kernel.org \
--to=luto@kernel.org \
--cc=aaronmdjones@gmail.com \
--cc=ahferroin7@gmail.com \
--cc=akpm@linuxfoundation.org \
--cc=cl@linux.com \
--cc=corbet@lwn.net \
--cc=james.l.morris@oracle.com \
--cc=jarkko.sakkinen@linux.intel.com \
--cc=keescook@chromium.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=morgan@kernel.org \
--cc=msa@moth.iki.fi \
--cc=mtk.manpages@gmail.com \
--cc=serge.hallyn@canonical.com \
--cc=serge.hallyn@ubuntu.com \
--cc=serge@hallyn.com \
--cc=tytso@mit.edu \
--cc=zohar@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.