From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDF2AC5519F for ; Wed, 18 Nov 2020 09:45:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 71587221FB for ; Wed, 18 Nov 2020 09:45:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725790AbgKRJp3 (ORCPT ); Wed, 18 Nov 2020 04:45:29 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:51609 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726249AbgKRJp3 (ORCPT ); Wed, 18 Nov 2020 04:45:29 -0500 Received: from ip5f5af0a0.dynamic.kabel-deutschland.de ([95.90.240.160] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kfK1c-0001pZ-AY; Wed, 18 Nov 2020 09:45:17 +0000 Date: Wed, 18 Nov 2020 10:45:13 +0100 From: Christian Brauner To: Jonathan Corbet 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: <20201118094513.itchk5nx75er6wh6@wittgenstein> References: <20201115103718.298186-1-christian.brauner@ubuntu.com> <20201117165433.316f5625@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201117165433.316f5625@lwn.net> Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Tue, Nov 17, 2020 at 04:54:33PM -0700, Jonathan Corbet wrote: > 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? Yep, that was my mistake. I'll fix it up in the repo for that tool now and maybe improve it a little too! :) Christian