All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaron Jones <aaronmdjones-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Andy Lutomirski <luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org>,
	Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
Cc: Jarkko Sakkinen
	<jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	Ted Ts'o <tytso-3s7WtUTddSA@public.gmane.org>,
	"Andrew G. Morgan"
	<morgan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Andrew Morton
	<akpm-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
	Serge Hallyn
	<serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>,
	Michael Kerrisk
	<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Mimi Zohar
	<zohar-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>,
	Linux API <linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Austin S Hemmelgarn
	<ahferroin7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-security-module
	<linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Serge Hallyn
	<serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>,
	Markku Savela <msa-kXoF896ld44xHbG02/KK1g@public.gmane.org>,
	Kees Cook <keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org>
Subject: Re: [PATCH v2 1/2] capabilities: Ambient capabilities
Date: Tue, 19 May 2015 20:22:17 +0000	[thread overview]
Message-ID: <555B9B79.9080806@gmail.com> (raw)
In-Reply-To: <CALCETrW6DndOnC5ego+R5rwjoXeFo04cSO4Z2qZnhiJpEPBE=Q@mail.gmail.com>

On 19/05/15 20:07, Andy Lutomirski wrote:> It's in the cover letter,
rather vaguely.  I think I want to change
> the setpriv syntax a bit before sending it upstream, though -- it's
> sucks that you have to duplicate the option.
>
> Perhaps the ambient-caps option should implicitly raise inheritable
> caps if they're not already raised.  Or maybe the absence of an
> inh-caps rule should cause any requested ambient caps to be made
> inheritable as well.
>
> --Andy

I propose an additional --ambient-inh option to copy everything from
--inh-caps to the ambient set. Explicit is better than implicit.

-- 
Aaron Jones

WARNING: multiple messages have this Message-ID (diff)
From: Aaron Jones <aaronmdjones@gmail.com>
To: Andy Lutomirski <luto@amacapital.net>, Christoph Lameter <cl@linux.com>
Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
	"Ted Ts'o" <tytso@mit.edu>,
	"Andrew G. Morgan" <morgan@kernel.org>,
	Andrew Morton <akpm@linuxfoundation.org>,
	Serge Hallyn <serge.hallyn@ubuntu.com>,
	Michael Kerrisk <mtk.manpages@gmail.com>,
	Mimi Zohar <zohar@linux.vnet.ibm.com>,
	Linux API <linux-api@vger.kernel.org>,
	Austin S Hemmelgarn <ahferroin7@gmail.com>,
	linux-security-module <linux-security-module@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Serge Hallyn <serge.hallyn@canonical.com>,
	Markku Savela <msa@moth.iki.fi>,
	Kees Cook <keescook@chromium.org>,
	Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH v2 1/2] capabilities: Ambient capabilities
Date: Tue, 19 May 2015 20:22:17 +0000	[thread overview]
Message-ID: <555B9B79.9080806@gmail.com> (raw)
In-Reply-To: <CALCETrW6DndOnC5ego+R5rwjoXeFo04cSO4Z2qZnhiJpEPBE=Q@mail.gmail.com>

On 19/05/15 20:07, Andy Lutomirski wrote:> It's in the cover letter,
rather vaguely.  I think I want to change
> the setpriv syntax a bit before sending it upstream, though -- it's
> sucks that you have to duplicate the option.
>
> Perhaps the ambient-caps option should implicitly raise inheritable
> caps if they're not already raised.  Or maybe the absence of an
> inh-caps rule should cause any requested ambient caps to be made
> inheritable as well.
>
> --Andy

I propose an additional --ambient-inh option to copy everything from
--inh-caps to the ambient set. Explicit is better than implicit.

-- 
Aaron Jones


  reply	other threads:[~2015-05-19 20:22 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2015-05-15 14:31   ` Christoph Lameter
2015-05-18 19:43     ` Andy Lutomirski
2015-05-27 22:35       ` 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 [this message]
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  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

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=555B9B79.9080806@gmail.com \
    --to=aaronmdjones-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=ahferroin7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=akpm-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=corbet-T1hC0tSOHrs@public.gmane.org \
    --cc=jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=luto-kltTT9wpgjJwATOyAt5JVQ@public.gmane.org \
    --cc=morgan-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=msa-kXoF896ld44xHbG02/KK1g@public.gmane.org \
    --cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org \
    --cc=serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org \
    --cc=tytso-3s7WtUTddSA@public.gmane.org \
    --cc=zohar-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@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 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.