From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754114AbcEDQfO (ORCPT ); Wed, 4 May 2016 12:35:14 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50205 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751737AbcEDQfM (ORCPT ); Wed, 4 May 2016 12:35:12 -0400 X-Originating-IP: 50.39.163.18 Date: Wed, 4 May 2016 09:34:56 -0700 From: Josh Triplett To: Djalal Harouni Cc: Alexander Viro , Chris Mason , tytso@mit.edu, Serge Hallyn , "Eric W. Biederman" , Andy Lutomirski , Seth Forshee , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Dongsu Park , David Herrmann , Miklos Szeredi , Alban Crequy Subject: Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Message-ID: <20160504163456.GA13196@x> References: <1462372014-3786-1-git-send-email-tixxdz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1462372014-3786-1-git-send-email-tixxdz@gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > This is version 2 of the VFS:userns support portable root filesystems > RFC. Changes since version 1: > > * Update documentation and remove some ambiguity about the feature. > Based on Josh Triplett comments. Thanks for the clarifications. > 3) The existing user namespace interface is the one used to do the > translation from virtual to on-disk mapping. This makes sense. Even if in the future we had a way to supply an arbitrary VFS UID/GID mapping for a mount, independent of the userns, what you've proposed would still make sense as a shorthand for the common case of using the same mapping for both userns and VFS. - Josh Triplett