From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-f68.google.com ([209.85.208.68]:41421 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729112AbeJATEf (ORCPT ); Mon, 1 Oct 2018 15:04:35 -0400 Received: by mail-ed1-f68.google.com with SMTP id f38-v6so13992625edd.8 for ; Mon, 01 Oct 2018 05:27:01 -0700 (PDT) Message-ID: <1538396819.4348.86.camel@arista.com> Subject: Re: [RFC 0/2] ns: introduce binfmt_misc namespace From: Dmitry Safonov To: Laurent Vivier , Andy Lutomirski Cc: LKML , Linux FS Devel , James Bottomley , Al Viro , Linux API , "Eric W. Biederman" , Andrey Vagin , Linux Containers Date: Mon, 01 Oct 2018 13:26:59 +0100 In-Reply-To: References: <20180930234628.25528-1-laurent@vivier.eu> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi Laurent, thanks for Cc, On Mon, 2018-10-01 at 09:13 +0200, Laurent Vivier wrote: > Le 01/10/2018 à 06:45, Andy Lutomirski a écrit : > > On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier > > wrote: > > > > > > This series introduces a new namespace for binfmt_misc. > > > > > > > This seems conceptually quite reasonable, but I'm wondering if the > > number of namespace types is getting out of hand given the current > > API. Should we be considering whether we need a new set of > > namespace > > creation APIs that scale better to larger numbers of namespace > > types? > > > > Yes, we need something to increase the maximum number of namespace > types > because this is the last bit in the clone() flags and the time > namespace > has already preempted it. Yeah, there is this last CLONE_* flag.. I tried to use that 0x1000 flag for something like CLONE_EXTENDED with all parameters on the stack, but not sure that's reasonable and maybe someone will suggest a better solution. All those different clone() ABI (how many parameters to supply and in which order do not help much). -- Thanks, Dmitry