public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Pawelczyk <l.pawelczyk@samsung.com>
To: Richard Weinberger <richard.weinberger@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>,
	Peter Zijlstra <peterz@infradead.org>,
	James Morris <james.l.morris@oracle.com>,
	"Serge E. Hallyn" <serge@hallyn.com>,
	Serge Hallyn <serge.hallyn@canonical.com>,
	Al Viro <viro@zeniv.linux.org.uk>, Paul Moore <pmoore@redhat.com>,
	Kees Cook <keescook@chromium.org>,
	Miklos Szeredi <mszeredi@suse.cz>,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
	Nikolay Aleksandrov <nikolay@redhat.com>,
	Mark Rustad <mark.d.rustad@intel.com>,
	David Howells <dhowells@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Oleg Nesterov <oleg@redhat.com>,
	Juri Lelli <juri.lelli@gmail.com>,
	Daeseok Youn <daeseok.youn@gmail.com>,
	David Rientjes <rientjes@google.com>,
	Dario Faggioli <raistlin@linux.it>,
	Alex Thorlton <athorlton@sgi.com>,
	Matthew Dempsky <mdempsky@chromium.org>,
	Davidlohr Bueso <davidlohr@hp.com>,
	Vladimir Davydov <vdavydov@parallels.com>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Casey Schaufler <casey@schaufler-ca.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"open list:ABI/API" <linux-api@vger.kernel.org>,
	linux-security-module@vger.kernel.org,
	Linux Containers <containers@lists.linux-foundation.org>,
	Lukasz Pawelczyk <havner@gmail.com>
Subject: Re: [RFC] lsm: namespace hooks
Date: Thu, 27 Nov 2014 15:35:28 +0100	[thread overview]
Message-ID: <1417098928.1805.15.camel@samsung.com> (raw)
In-Reply-To: <CAFLxGvzw4N4QFv5Vg1dDf9pdRe+Szbevmqn5QNwjLHN4xrokCg@mail.gmail.com>

On czw, 2014-11-27 at 15:18 +0100, Richard Weinberger wrote:
> On Thu, Nov 27, 2014 at 3:01 PM, Lukasz Pawelczyk
> <l.pawelczyk@samsung.com> wrote:
> > -/* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state)
> > -   and is now available for re-use. */
> > +#define CLONE_NEWLSM           0x02000000      /* New LSM namespace */
> 
> FYI, CLONE_NEWCGROUP also claims last flag [1].

Yes, I'm perfectly aware of that. I've seen those patches.
This is RFC for now and CGROUP NS is not merged yet. I'll rebase when
time comes.

> As it looks we will get more and more namespaces, more than clone() can handle.
> 
> [1] https://lkml.org/lkml/2014/7/17/588
> 

-- 
Lukasz Pawelczyk
Samsung R&D Institute Poland
Samsung Electronics




  reply	other threads:[~2014-11-27 14:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-27 14:01 [RFC] LSM/Smack namespace work in progress Lukasz Pawelczyk
2014-11-27 14:01 ` [RFC] lsm: namespace hooks Lukasz Pawelczyk
2014-11-27 14:18   ` Richard Weinberger
2014-11-27 14:35     ` Lukasz Pawelczyk [this message]
     [not found]       ` <54773757.8090905@nod.at>
2014-11-27 14:44         ` Lukasz Pawelczyk
     [not found]           ` <54773CE7.5040303@nod.at>
2014-11-27 15:11             ` Lukasz Pawelczyk
     [not found]               ` <547740A0.4040700@nod.at>
2014-11-27 15:24                 ` Lukasz Pawelczyk
2014-11-27 15:42               ` Eric W. Biederman
2014-11-27 16:07                 ` Lukasz Pawelczyk
2014-11-27 16:44                   ` Eric W. Biederman
2014-11-27 17:38                     ` Lukasz Pawelczyk
2014-12-02 12:43                       ` Lukasz Pawelczyk
2014-12-09 16:13                         ` Eric W. Biederman

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=1417098928.1805.15.camel@samsung.com \
    --to=l.pawelczyk@samsung.com \
    --cc=akpm@linux-foundation.org \
    --cc=athorlton@sgi.com \
    --cc=casey@schaufler-ca.com \
    --cc=containers@lists.linux-foundation.org \
    --cc=daeseok.youn@gmail.com \
    --cc=davidlohr@hp.com \
    --cc=dhowells@redhat.com \
    --cc=ebiederm@xmission.com \
    --cc=havner@gmail.com \
    --cc=james.l.morris@oracle.com \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=juri.lelli@gmail.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=mark.d.rustad@intel.com \
    --cc=mdempsky@chromium.org \
    --cc=mingo@redhat.com \
    --cc=mszeredi@suse.cz \
    --cc=nikolay@redhat.com \
    --cc=oleg@redhat.com \
    --cc=peterz@infradead.org \
    --cc=pmoore@redhat.com \
    --cc=raistlin@linux.it \
    --cc=richard.weinberger@gmail.com \
    --cc=rientjes@google.com \
    --cc=serge.hallyn@canonical.com \
    --cc=serge@hallyn.com \
    --cc=vdavydov@parallels.com \
    --cc=viro@zeniv.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox