Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp860366ima; Wed, 24 Oct 2018 10:17:07 -0700 (PDT) X-Google-Smtp-Source: AJdET5f099o8BZ1IP9px1UbpCZibHqNXIf7Y4Y9K72pKdRNHJIqFnNaDBEC/FlkyXEd910IJiBUI X-Received: by 2002:a17:902:2e81:: with SMTP id r1-v6mr3314552plb.212.1540401427488; Wed, 24 Oct 2018 10:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540401427; cv=none; d=google.com; s=arc-20160816; b=PIu8NNQSalINZMSeCEaCnWhtuo0fyF/Iw34Q8ETDLM/TKMFz1DHqpW36kCaJxp8H48 O5B7zy2SxvpqaOQX45I+NZo50B9TLSy+/ye0HUrbI7YnNBHjzvhXMVj4AhAyLvzaHlFZ zFJI2AfCPgnpeIPFvP9Nv5X7Mup+lXzBThgNTW3RgpIsgLQHg3xYF5GJxuMRZbQInGM7 WRjym1R2bdOhdkDp3pAmJY3LMJxhN0JEUxL/4neMAqTm0W5LtDJmoaMbYtOSnfBKtfgV 0tATXThtunK9kJnbDH0ZlZEY8h77sPM15arX2rNGdEd1+lwsn5KYkxSWcO9zq8HVH6uV hPOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=/bleijRgMreRMRImt00N6qPSAe/C3mqJYyAdfTyqGfI=; b=S5PhWMl//o3y81sBLS1P0/YgohctzWY+IdIhvVjrxfK+NAFDjYBZfUTP2B/Y0UGuYH ZW2XzGDICE8P9SXdOeejQd+S/7IVkqZ2Rx+gNL49Ovv6HgkgDFJe0mf8ecgkI9iROrt1 E6AoLBQmJuN6nqZbB1pP8NVo+U6x6uCYq9J5RgiTvg8LZZZ18WkD8qInEjOOSCb8Op5u ffWUX3GF1PV350oMHjUb/F7a1shS7+MNF1zl/m+EAif82xRuBvkMPl8YbDTrRxn0/61o K6r9RH5mHDlkwQmj0brIB/sDda/ZjDBwmkuyn6FDqOl/zEq2kdHjJyP/voc4DT9zYftE sXtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si5709051pfc.129.2018.10.24.10.16.51; Wed, 24 Oct 2018 10:17:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbeJYBpU (ORCPT + 99 others); Wed, 24 Oct 2018 21:45:20 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:54681 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbeJYBpU (ORCPT ); Wed, 24 Oct 2018 21:45:20 -0400 Received: from [10.43.15.91] ([94.185.135.34]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.184]) with ESMTPSA (Nemesis) id 1MF35K-1gLwLV3oMq-00FQKN; Wed, 24 Oct 2018 19:15:58 +0200 Received: from [10.43.15.91] ([94.185.135.34]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.184]) with ESMTPSA (Nemesis) id 1MF35K-1gLwLV3oMq-00FQKN; Wed, 24 Oct 2018 19:15:58 +0200 Subject: Re: [PATCH v6 1/1] ns: add binfmt_misc to the user namespace To: Andrei Vagin Cc: linux-kernel@vger.kernel.org, Jann Horn , James Bottomley , linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, Alexander Viro , Eric Biederman , containers@lists.linux-foundation.org, Dmitry Safonov References: <20181010161430.11633-1-laurent@vivier.eu> <20181010161430.11633-2-laurent@vivier.eu> <20181016162245.GA7697@gmail.com> From: Laurent Vivier Message-ID: <0fb09ce6-e006-31a2-1f32-f3f6eda44504@vivier.eu> Date: Wed, 24 Oct 2018 18:15:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20181016162245.GA7697@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:iiQD9ckAiFLTBKMZ1aJxZN0Qflsphi71k9meEBIC8QASsiKcVvb N4l1RZoCaGoBadYiuiV0mYFdXXtyggbTfpbqUgmAS6j0t2t8pF1A2rITPg0Q+Dls1t0funH KsOdbzGrVdvnhLsCtSNmfJyT3TPOBG5seKfqi6EErpzKmR1FzJqHfrqo9pInxnQ/XtfhNer IcIem34IkIO5bwoSGlVGQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:JCwADjGa0Lo=:w0yaDMiWIqp7AHd11N3aZ3 6NL+bYC67rWIlR9QfiAEP1yUkQogCMfJZqUpk5FHAQnCvx0b1/FyfZOgnVO/uDbftkauAGscr zNWIlX9Q6qzEYWa4fnuhQWX/m3hlPFJs8A9EUu+o+N0wDGXI5WHisVfZ0pnO9rOW40MV5asY3 DfvubLYvvQAoq7Hq6vykOExsAgYjV7aI8dweIEv1xGxBaHKl4dluhdRAe+iFBMnNIZRA86mLh VV8mXPLTKunw2E3NHiwtJz94fBCXxzkszpDlV+PNoIuOMBz59EY12BW/w/+YXgP2kTNclLTu3 HSt3dZcyJjSzkLArItv9guNt6ZgzFr/7urdbkl9/qYVlZvZs/Jrb0xMu8PGuyPb/wTjqMs8Rf Gb130tqVHKvjWaMT6pTlvapqV1sHCEeG3I7fbzMiZ7mAvl9Agz0xyRDxjjZt2rbvIqRUotG/d KF/w4kwRTTPDJXqWeqH0E3aZQ/vEYpHIvFnNKQcWwQpegqCLiZbv9VkRJYzcAu9tePP5reTVD EM0EFrEm6Oi7Yr9s65g4ylZN6A6NdXTHIHN34uShUsVg5sqmS0e4VGUREg1vTQFG7mLBEnWQh 1J6qnTlp5wYzJuVFm4mC9XeN6wK5P5mx3Zq61PtfOIKOKIg70sjJfFVionpLWRRWjuGiGUXBM HyCZiHwAHtVk7M/tOKFCUvaYegWzeOD1sPg5DcwnXQe6JzGJBqiJc39rZKf5P/S340DIqUnE5 T2/R4Cqr6S5cmUa2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/10/2018 17:22, Andrei Vagin wrote: > On Wed, Oct 10, 2018 at 06:14:30PM +0200, Laurent Vivier wrote: >> This patch allows to have a different binfmt_misc configuration >> for each new user namespace. By default, the binfmt_misc configuration >> is the one of the previous level, but if the binfmt_misc filesystem is >> mounted in the new namespace a new empty binfmt instance is created and >> used in this namespace. >> >> For instance, using "unshare" we can start a chroot of another >> architecture and configure the binfmt_misc interpreter without being root >> to run the binaries in this chroot. >> >> Signed-off-by: Laurent Vivier > > Acked-by: Andrei Vagin > > Thanks, > Andrei > I don't konw who is the maintainer for this part, but is there any chance to have this merged in 4.20? Thanks, Laurent