All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] capabilities: Ambient capabilities
@ 2015-05-15  6:39 Andy Lutomirski
  2015-05-15  6:39 ` [PATCH v2 1/2] " Andy Lutomirski
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Andy Lutomirski @ 2015-05-15  6:39 UTC (permalink / raw)
  To: Serge Hallyn, Andrew Morton
  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

I'll follow up with a rough draft of a man-pages patch.

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            | 88 ++++++++++++++++++++++++++++++++++++-----
 security/keys/process_keys.c    |  1 +
 7 files changed, 108 insertions(+), 12 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2015-05-27 22:45 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15  6:39 [PATCH v2 0/2] capabilities: Ambient capabilities Andy Lutomirski
2015-05-15  6:39 ` [PATCH v2 1/2] " Andy Lutomirski
2015-05-15 11:32   ` Lukasz Pawelczyk
     [not found]     ` <1431689523.1769.1.camel-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2015-05-15 12:03       ` Andy Lutomirski
2015-05-15 12:03         ` Andy Lutomirski
     [not found]   ` <cc4749638a21079cce12f9f30c806170558e56e5.1431671529.git.luto-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-05-15 14:19     ` Christoph Lameter
2015-05-15 14:19       ` Christoph Lameter
2015-05-18 19:48       ` Andy Lutomirski
2015-05-19 15:37         ` Christoph Lameter
2015-05-19 17:20           ` Andy Lutomirski
     [not found]             ` <CALCETrV1+3ZuL0MkqQaRoQ8r2V=EcQQEodOdCdP0p-BK1PixGg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-19 20:03               ` Christoph Lameter
2015-05-19 20:03                 ` Christoph Lameter
     [not found]                 ` <alpine.DEB.2.11.1505191502570.31044-gkYfJU5Cukgdnm+yROfE0A@public.gmane.org>
2015-05-19 20:07                   ` Andy Lutomirski
2015-05-19 20:07                     ` Andy Lutomirski
2015-05-19 20:22                     ` Aaron Jones
2015-05-19 20:22                       ` Aaron Jones
2015-05-19 20:23                       ` Andy Lutomirski
2015-05-23 19:37     ` Serge Hallyn
2015-05-23 19:37       ` Serge Hallyn
     [not found]       ` <20150523193705.GA30563-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2015-05-26 16:23         ` Christoph Lameter
2015-05-26 16:23           ` Christoph Lameter
2015-05-27 22:44         ` Andy Lutomirski
2015-05-27 22:44           ` Andy Lutomirski
2015-05-15 14:31   ` Christoph Lameter
2015-05-18 19:43     ` Andy Lutomirski
2015-05-27 22:35       ` Andy Lutomirski
2015-05-15  6:39 ` [PATCH v2 2/2] capabilities: Add a securebit to disable PR_CAP_AMBIENT_RAISE Andy Lutomirski
     [not found]   ` <003b2a2d3e6ad9f4853e248d853f73448ca7b002.1431671529.git.luto-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-05-23 19:45     ` Serge E. Hallyn
2015-05-23 19:45       ` Serge E. Hallyn
2015-05-24 20:39       ` Andrew G. Morgan
2015-05-20 19:47 ` [PATCH v2 0/2] capabilities: Ambient capabilities Andy Lutomirski

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.