From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Pawelczyk Subject: Re: [RFC] lsm: namespace hooks Date: Thu, 27 Nov 2014 15:35:28 +0100 Message-ID: <1417098928.1805.15.camel@samsung.com> References: <1417096866-25563-1-git-send-email-l.pawelczyk@samsung.com> <1417096866-25563-2-git-send-email-l.pawelczyk@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Richard Weinberger Cc: Vladimir Davydov , Miklos Szeredi , Lukasz Pawelczyk , LKML , David Howells , Davidlohr Bueso , Mark Rustad , Matthew Dempsky , Daeseok Youn , Ingo Molnar , Jeff Kirsher , David Rientjes , Alex Thorlton , Juri Lelli , Kees Cook , Nikolay Aleksandrov , Dario Faggioli , Al Viro , James Morris , "open list:ABI/API" , Linux Containers , Oleg Nesterov , Paul Moore List-Id: containers.vger.kernel.org On czw, 2014-11-27 at 15:18 +0100, Richard Weinberger wrote: > On Thu, Nov 27, 2014 at 3:01 PM, Lukasz Pawelczyk > 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