Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp745742pxb; Thu, 21 Jan 2021 20:19:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqVKWfd85yEkNTCoQqnbZrD/mwuWoQeTbkgCWm6wLUVNX1oYjxdVOTLrWVpzE+zpJAcwbT X-Received: by 2002:a50:b742:: with SMTP id g60mr1703836ede.113.1611289182622; Thu, 21 Jan 2021 20:19:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611289182; cv=none; d=google.com; s=arc-20160816; b=dPY29XH1gcqFFzLxiYYfvBTDUqrR1StAcfmyukNpdnYzRzZOUWqEWBiwUzs+gUdaPM Hs/gyYDIpKV4cKdonyEW+ziPT9A3k4UEqqQPbJsMWLAMp+PsWkTRoZ2r9pXOmxylpyMQ 1D77wzwNw7NtYqlB31L18THBUZhZUbxCZ9VfHOOtt5neOTDpAwOaff05V/EFGJ1yQK70 HX0gYjRTDD6kj6LyKuRrYb6cSVnMxUD5i8EWKVoYji8toBFX7QejxiGswBuv9plr+pHe 6YAECMrtH463Nm50Ef4Iyk5QUuJb+vaFeuehZe1ZvCqNV9tb+ADwRB4y/K5fvYAojnIQ mOaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=xGWSXYxJ9m6DZriUmxD2iZcMgvL3357L6a0bwahQXuo=; b=SK0icFrHmfZEsX+J7QZOkY6tZJzDIzBJ43v0dk89qu1ndvX3DU1e3RgtI+ntBwx6o2 HMEEcZG6T82QroXYWHg7m4rZ/iOOqH4JGjzxo0C5U6M2YKXHcjzQvwlzYv81aCJTiVJt ce3ldjuKvNSyXB+FiL5HRk3+0fNF/qdjOa8WQWHBSlyYulZcVktU/of6fhEcehY+35EZ L/GzEREpF2sxsXU3Y+Z2yRE58et48OcmnyijzxjZ7Si/lSmPW7lOgWpezC9HsT2TV16k kLWmSCa0izI/wSm0Az4pI4gzDkeXJ3ylkZrMXE5N4ATWxxfyqOLoAGyp/lUfZHcuT7mQ msMg== 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 x19si3038712eds.79.2021.01.21.20.19.19; Thu, 21 Jan 2021 20:19:42 -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 S1726264AbhAVETP (ORCPT + 99 others); Thu, 21 Jan 2021 23:19:15 -0500 Received: from namei.org ([65.99.196.166]:53028 "EHLO mail.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbhAVETO (ORCPT ); Thu, 21 Jan 2021 23:19:14 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.namei.org (Postfix) with ESMTPS id 278651BC; Fri, 22 Jan 2021 04:17:41 +0000 (UTC) Date: Fri, 22 Jan 2021 15:17:41 +1100 (AEDT) From: James Morris To: Christian Brauner cc: Alexander Viro , Christoph Hellwig , linux-fsdevel@vger.kernel.org, John Johansen , 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 , Seth Forshee , =?ISO-8859-15?Q?St=E9phane_Graber?= , Linus Torvalds , Aleksa Sarai , Lennart Poettering , "Eric W. Biederman" , smbarber@chromium.org, Phil Estes , Serge Hallyn , Kees Cook , Todd Kjos , Paul Moore , Jonathan Corbet , containers@lists.linux-foundation.org, linux-security-module@vger.kernel.org, linux-api@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@vger.kernel.org Subject: Re: [PATCH v6 19/40] fcntl: handle idmapped mounts In-Reply-To: <20210121131959.646623-20-christian.brauner@ubuntu.com> Message-ID: References: <20210121131959.646623-1-christian.brauner@ubuntu.com> <20210121131959.646623-20-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, 21 Jan 2021, Christian Brauner wrote: > Enable the setfl() helper to handle idmapped mounts by passing down the > mount's user namespace. If the initial user namespace is passed nothing > changes so non-idmapped mounts will see identical behavior as before. > > Link: https://lore.kernel.org/r/20210112220124.837960-27-christian.brauner@ubuntu.com > Cc: Christoph Hellwig > Cc: David Howells > Cc: Al Viro > Cc: linux-fsdevel@vger.kernel.org > Reviewed-by: Christoph Hellwig > Signed-off-by: Christian Brauner Reviewed-by: James Morris -- James Morris