From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Subject: Re: [RFC] lsm: namespace hooks Date: Thu, 27 Nov 2014 16:01:59 +0100 Message-ID: <54773CE7.5040303@nod.at> 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> <1417099455.1805.17.camel@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1417099455.1805.17.camel-Sze3O3UU22JBDgjK7y7TUQ@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: Lukasz Pawelczyk 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 , Nikolay Aleksandrov , Dario Faggioli , Al Viro , James Morris , ABI/API , Linux Containers , Oleg Nesterov , Paul Moore , linux-security-module-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org Am 27.11.2014 um 15:44 schrieb Lukasz Pawelczyk: > 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. Isn't this CLONE_IO? > Any suggestion on what can be done here? New syscal with flags2? I'm not sure. But a new syscall would be a candidate. Thanks, //richard