lkml.org 
[lkml]   [2015]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 0/2] capabilities: Ambient capabilities
On Thu, May 14, 2015 at 11:39 PM, Andy Lutomirski <luto@kernel.org> wrote:
> 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.

Just as a note: I'm going to hold off on v3 until Kees and/or Serge
can take a look, since so far the only changes I want to make to the
kernel part are some comment cleanups and a possible rearrangement of
the pE' stuff that will provably have no effect.

--Andy

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



--
Andy Lutomirski
AMA Capital Management, LLC


\
 
 \ /
  Last update: 2015-05-20 22:21    [W:0.119 / U:2.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site