Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp767187pxb; Thu, 21 Jan 2021 21:12:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJycRBuIWy3YqIVMOgGJPWSIl8ub+t6GHp/ofLShi6kLb0OeEIeZOWqTo1TyVnSaiVO4UaL6 X-Received: by 2002:aa7:d4d2:: with SMTP id t18mr1928806edr.238.1611292333768; Thu, 21 Jan 2021 21:12:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611292333; cv=none; d=google.com; s=arc-20160816; b=TvYBQZpMgrJpSpGHjIT+Rk6a4lL3GmdoO6doTIw3rni42Q3QxzfBfOgaUs53aUv+ju /q+TtV50Ts6EyEkUqxyC7d6DKIudmQ+VxN9XrtePSSkMpXft0CAX/1GsqHzlZ59iUEWF VN+qYWEkjrB5J9tS0v0QYrCxGnVmCfYp4LRz7Rv90/Mlh1Avsk+PAZMS649hXlmyw+nc FhFKMjSeAS2ZPWOe0PWzBSEUomv30UBcrQN5EKG0MTGxvf+YIY4UB4cvBP5W5yn3zy2M vKrSON+2yIsDKVP6nuH/zTjE9NEx5KyxnRlJ2CH33qIh7z7HvGptiglz8V94IPtQGk5q 5tng== 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=9q1NEM9IWvgX1UwbyCGUot+JYXO5OFYBUGqgY1KA+MY=; b=uW5VzpGQ0mW5UJb3rj6UAJDciRBcp2Xf/uWt21qit04vgfpriH68VcaXgJjIMRNIMA e/kQCQHF6QUh+9rV5yw6ErrtNd4RkCHrQ3J6WB0CvMgw1UCmqEB735X8S4tiI9w377e/ gOydl17xwSkK2a8+vFt96HM3RgHIOEbEu/NcDzzUnH8dGeqd4MBzdEamc17rxjxR7tu7 EJceMjmB1ScNBwoelu6I2blWXVE6xdJngr/ct1M/t7PqhqQVECRNq8SSXKANb7TJoIYh IvhewFwS++mCAUps1uwakWn1qv/8JeAVzuhdPskj/+lvRURDu8yog5svWXvPmDc80usY EdHg== 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 k25si2759180ejk.72.2021.01.21.21.11.41; Thu, 21 Jan 2021 21:12:13 -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 S1726799AbhAVEfT (ORCPT + 99 others); Thu, 21 Jan 2021 23:35:19 -0500 Received: from namei.org ([65.99.196.166]:53082 "EHLO mail.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbhAVEfR (ORCPT ); Thu, 21 Jan 2021 23:35:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.namei.org (Postfix) with ESMTPS id 143EE1BC; Fri, 22 Jan 2021 04:33:44 +0000 (UTC) Date: Fri, 22 Jan 2021 15:33:43 +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 21/40] ioctl: handle idmapped mounts In-Reply-To: <20210121131959.646623-22-christian.brauner@ubuntu.com> Message-ID: References: <20210121131959.646623-1-christian.brauner@ubuntu.com> <20210121131959.646623-22-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 generic ioctls 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-30-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