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:44:15 +0100 Message-ID: <1417099455.1805.17.camel@samsung.com> References: <1417096866-25563-1-git-send-email-l.pawelczyk@samsung.com> <1417096866-25563-2-git-send-email-l.pawelczyk@samsung.com> <1417098928.1805.15.camel@samsung.com> <54773757.8090905@nod.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-reply-to: <54773757.8090905-/L3Ra7n9ekc@public.gmane.org> 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 , Mark Rustad , Matthew Dempsky , Daeseok Youn , Ingo Molnar , Jeff Kirsher , David Rientjes , Alex Thorlton , Juri Lelli , Kees Cook , Richard Weinberger , Nikolay Aleksandrov , Dario Faggioli , Al Viro , James Morris , "open list:ABI/API" , Linux Containers , Oleg Nesterov , Paul List-Id: containers.vger.kernel.org On czw, 2014-11-27 at 15:38 +0100, Richard Weinberger wrote: > Am 27.11.2014 um 15:35 schrieb Lukasz Pawelczyk: > > 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. > > Just wanted to indicate that we run out of constants. :) True, the last one is 0x80000000. I did not notice that. Thanks for pointing out. Any suggestion on what can be done here? New syscal with flags2? -- Lukasz Pawelczyk Samsung R&D Institute Poland Samsung Electronics