Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp317654imd; Wed, 31 Oct 2018 20:01:31 -0700 (PDT) X-Google-Smtp-Source: AJdET5ea0EqybL2xUJI7qA/8CsMeLEGRUmmmYow3TLZrO2lH3Dc5qYShMzlKblSiGCdCxgmwrwNo X-Received: by 2002:a63:741:: with SMTP id 62mr5460914pgh.352.1541041291485; Wed, 31 Oct 2018 20:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541041291; cv=none; d=google.com; s=arc-20160816; b=WronWsoqF8rJw0PB8uCPwZRD3kKefGvaEDyl3qxvZGkRTScFdqJzdUiAyBqoqe+Rcp apFbiJvltRSooA52Zunou+T7jgWIqwqFBLnalzDaUZM5reD/+5ESsZXKgDDFpEZlsjY8 x3+6azMmlDGsP8wPuDxQKvxyooNhEcgcz6jP4qXtZGkqtS4D/kSy8LgkgvbywIFmMMOc 36GidXwx+QIO4W9mo4n/HssNyP1jyxfavFf8U4naTHXYqrh9f923Lf37RMLLHZSDjRf0 Zak1dBktGvgE8bskeICFG71BYwzVbYAUWY7pCOlSTBlPKbdnL1J0C/jCWttZuY6ariCS g6UQ== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=nTABMLO+AJrEfCpaXVn6neE2hYsjme3meBFiGrVJSNQ=; b=L7m/f5haXgTkk27/SjMQ69QACh6XiUz9pmDEMSYDLLJFA1XnW9/Ixm2C+fTt4Ru4fK 0DE608LNpvH90IXYIXgTiNL2tl/Pwbe2D3GHBLzHUcGyHybDhXw41sPWgRJWHGN+d7XI waMlcjYyRDLtT4Bg/RG+0qd/2CFSjCN7m88SZ77pDq5LwMo6/qwt8j9wqRfiecUIel5w nsy3PkdvtE7letG9bBI2rJYGW9PinoA+VFoOozY5rnw/0QOHtkHjs+G9LypKAcDO4b0H wkYuBcPouf3QflwTFfwIvwYJrT+qVrDVf9x8FB/wNBCvYaDBqpvQEVt0J6otQCF2nFup ySAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=OKjM1Nij; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j38-v6si12664392pgl.138.2018.10.31.20.01.15; Wed, 31 Oct 2018 20:01:31 -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; dkim=fail header.i=@hansenpartnership.com header.s=20151216 header.b=OKjM1Nij; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727672AbeKAMAY (ORCPT + 99 others); Thu, 1 Nov 2018 08:00:24 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:46232 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbeKAMAY (ORCPT ); Thu, 1 Nov 2018 08:00:24 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 6D66B8EE179; Wed, 31 Oct 2018 19:59:24 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q7Erb9BKTj7Y; Wed, 31 Oct 2018 19:59:24 -0700 (PDT) Received: from [192.168.20.3] (unknown [216.9.105.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id B0E518EE02B; Wed, 31 Oct 2018 19:59:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1541041164; bh=LaZ6lE7b1odiMLIIxIprUCRoLPHL+xmLclVvBsLieFw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=OKjM1Nijq/6G2dx3DZ/L+Ic8C30m2LP5WyB+2oqMD1RQhChkfhWiIPwrXE9VEHJAZ ZksVTsse0+0shC7HY8qFsWnHRlinMBOYp9PME6jpqZs095eEJ1P1CROs1zIV5RVv6q W1H9zpwnVZuDMI0MxvxXFxwz5VCxLi+HTvtI8mXw= Message-ID: <1541041159.4632.6.camel@HansenPartnership.com> Subject: Re: [PATCH v6 0/1] ns: introduce binfmt_misc namespace From: James Bottomley To: Laurent Vivier , linux-kernel@vger.kernel.org Cc: Jann Horn , linux-api@vger.kernel.org, containers@lists.linux-foundation.org, Dmitry Safonov , Alexander Viro , linux-fsdevel@vger.kernel.org, Eric Biederman Date: Wed, 31 Oct 2018 19:59:19 -0700 In-Reply-To: <7ed6f823-547b-922d-59ff-aba9c4c3ab39@vivier.eu> References: <20181010161430.11633-1-laurent@vivier.eu> <7ed6f823-547b-922d-59ff-aba9c4c3ab39@vivier.eu> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-10-16 at 11:52 +0200, Laurent Vivier wrote: > Hi, > > Any comment on this last version? > > Any chance to be merged? I've got a use case for this: I went to one of the Graphene talks in Edinburgh and it struck me that we seem to keep reinventing the type of sandboxing that qemu-user already does. However if you want to do an x86 on x86 sandbox, you can't currently use the binfmt_misc mechanism because that has you running *every* binary on the system emulated. Doing it per user namespace fixes this problem and allows us to at least cut down on all the pointless duplication. James