Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4251460pxb; Tue, 17 Nov 2020 15:55:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgy6RMlxp2rOePuAi/x2UqLN3L20xelH2KqMLdPzzFdnLpebpW+dKohUK0BCTSH6cnQGKC X-Received: by 2002:aa7:c3c1:: with SMTP id l1mr24222329edr.153.1605657340792; Tue, 17 Nov 2020 15:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605657340; cv=none; d=google.com; s=arc-20160816; b=hLwkYlsoGAcsgl69F+IbHTdxkcfaxLQpLnZ8q7WsjXQ1sXV76wD8ZgkWW6RTzBkcIK OE1791trVIXZ532dnYcyZNDbNdkSsdwQgffyPVmbp1uu0RX7NGvscrmL5ZqadCA+Rq4s P589Pfg7IQmdtHk+tSvszDXNHb+l/hGqTMshAgg+u4h8il3zVT/uR9NwySj8T4e1MBUN 0qhHZvuLMFojAQv2mBa3pY6fusZSxhfWBAZPk0/mX83BttfsabT0MlVfLg5KzDW9/G9d P9/yrLA39Rvb+caABCzrG5+OgAa8kMlX5RMny/zXYSfY9PT5JPVTEPTqh5jCCXiUWYEr UQlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=1ORD6+LHIm+buYKuSMA8T/U0kAuzjs6EOmkkdqqwI4g=; b=jXq/RBjZ9c2zb3h2FQKBdnWE5XtHp3EBUXiPYZwOAk2ZXNnzoYyRmnzKowso2+LeZd TwfV3o0BYxkcL3f73s07NReF6DHVM1tn6uuD1+8v7WXIWiJBOgeCsACjYCWgM/w2s9da q1VGq85GuzK3zDcoL0XBCF5i58g/n8o5gli6BFFk/i8KZIxYO6WcR6CjzqY0ELD0Zw9G XY0qfVUUEUsk7xSyfiIw1qQj3z2RYZwuy5KthVg2n1fD2D7HLSC3PaVP8xDsmHUwO/63 5HAt/4gJXp+e0qLDQqT+7DLHTP0cERXQoPZXG16PrWsMJdV2CBQ7rmsEgbxu0C1iX4yt hkkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ob22si2089276ejb.735.2020.11.17.15.55.16; Tue, 17 Nov 2020 15:55:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726298AbgKQXyi (ORCPT + 99 others); Tue, 17 Nov 2020 18:54:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbgKQXyh (ORCPT ); Tue, 17 Nov 2020 18:54:37 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B6E0C0613CF; Tue, 17 Nov 2020 15:54:37 -0800 (PST) Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 0326360C; Tue, 17 Nov 2020 23:54:34 +0000 (UTC) Date: Tue, 17 Nov 2020 16:54:33 -0700 From: Jonathan Corbet To: Christian Brauner Cc: Alexander Viro , Christoph Hellwig , linux-fsdevel@vger.kernel.org, John Johansen , James Morris , Mimi Zohar , Dmitry Kasatkin , Stephen Smalley , Casey Schaufler , Arnd Bergmann , Andreas Dilger , OGAWA Hirofumi , Geoffrey Thomas , Mrunal Patel , Josh Triplett , Andy Lutomirski , Theodore Tso , Alban Crequy , Tycho Andersen , David Howells , James Bottomley , Jann Horn , Seth Forshee , =?UTF-8?B?U3TDqXBoYW5l?= Graber , Aleksa Sarai , Lennart Poettering , "Eric W. Biederman" , smbarber@chromium.org, Phil Estes , Serge Hallyn , Kees Cook , Todd Kjos , containers@lists.linux-foundation.org, linux-security-module@vger.kernel.org, linux-api@vger.kernel.org, linux-ext4@vger.kernel.org, linux-audit@redhat.com, linux-integrity@vger.kernel.org, selinux@vger.kernel.org Subject: Re: [PATCH v2 00/39] fs: idmapped mounts Message-ID: <20201117165433.316f5625@lwn.net> In-Reply-To: <20201115103718.298186-1-christian.brauner@ubuntu.com> References: <20201115103718.298186-1-christian.brauner@ubuntu.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sun, 15 Nov 2020 11:36:39 +0100 Christian Brauner wrote: One quick question... > I have written a simple tool available at > https://github.com/brauner/mount-idmapped that allows to create idmapped > mounts so people can play with this patch series. I spent a while looking at that tool. When actually setting the namespace for the mapping, it uses MOUNT_ATTR_SHIFT rather than MOUNT_ATTR_IDMAP. The value is the same, so I expect it works...:) But did that perhaps not get updated to reflect a name change? Thanks, jon