linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] capabilities: Ambient capability patchset
@ 2015-05-27 23:47 Andy Lutomirski
  2015-05-27 23:47 ` [PATCH v3 1/2] capabilities: Ambient capabilities Andy Lutomirski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andy Lutomirski @ 2015-05-27 23:47 UTC (permalink / raw)
  To: Serge Hallyn, Andrew Morton, James Morris
  Cc: Jarkko Sakkinen, Andrew Lutomirski, Ted Ts'o,
	Andrew G. Morgan, Linux API, Mimi Zohar, Michael Kerrisk,
	Austin S Hemmelgarn, linux-security-module, Aaron Jones,
	Serge Hallyn, LKML, Markku Savela, Kees Cook, Jonathan Corbet

This adds ambient capabilities.  See the individual patch changelogs
for details.

Preliminary userspace code is here:

https://git.kernel.org/cgit/linux/kernel/git/luto/util-linux-playground.git/commit/?h=cap_ambient&id=7f5afbd175d2

James or akpm, I think this is ready for 4.2.  Can one of you queue it up?

Thanks,
Andy

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      |  6 +++
 include/uapi/linux/securebits.h | 11 ++++-
 kernel/user_namespace.c         |  1 +
 security/commoncap.c            | 92 ++++++++++++++++++++++++++++++++++++-----
 security/keys/process_keys.c    |  1 +
 7 files changed, 112 insertions(+), 12 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2015-06-10 19:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 23:47 [PATCH v3 0/2] capabilities: Ambient capability patchset Andy Lutomirski
2015-05-27 23:47 ` [PATCH v3 1/2] capabilities: Ambient capabilities Andy Lutomirski
2015-06-09 23:09   ` Kees Cook
2015-06-10  0:00     ` Andy Lutomirski
2015-06-10 19:24       ` Kees Cook
2015-05-27 23:47 ` [PATCH v3 2/2] capabilities: Add a securebit to disable PR_CAP_AMBIENT_RAISE Andy Lutomirski
2015-06-04 22:03   ` Serge E. Hallyn
2015-06-04 19:33 ` [PATCH v3 0/2] capabilities: Ambient capability patchset Andy Lutomirski

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