Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2818568ybc; Wed, 20 Nov 2019 21:54:07 -0800 (PST) X-Google-Smtp-Source: APXvYqzLyMHVnW8likaByBmlTyV4bplzVAcKoGnyDieWFK/izbGBTWKMgtueEBU0Fh/MgPJB9yXA X-Received: by 2002:a17:907:206d:: with SMTP id qp13mr10838705ejb.92.1574315647859; Wed, 20 Nov 2019 21:54:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574315647; cv=none; d=google.com; s=arc-20160816; b=X1klRmsjTqaCGs1tlGn9EO4RFQeE2qBGWFmJT8SFqwZdlEolc8urKnZxLkVEhGaXVm GZpvw1JG7NRyYWdnTHdT21KJXZ+jmECfSvUxFKL1AOhEZM2jx6tLYg3KbcvhwwrcWSy+ gQSZL978qARf/aD+rkiEXSYpb/86KhRBtl/b0KuCXidTkTlRx1ymDbaOJNN/kX9qeWOv CLDgIDIOxwd1HchLSb6WZDtp55bos+XWjG6hNOncM03ooWT/3gCrwRWxHx1X8zWU6d0L 9ew2g0d5Qn1lydDcOgezSisp7Ih4n4oSSDtuCDaNrqXXQ6UugQE5pEEXLcraU9lqnImI flxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=hE0zpcqcGg/bZYEaYoym9C7QSUnApPG8kpgMwXJslhw=; b=mk8FIzheCgDza8a8vhzq7jilP5BaRTiZs38+JpnmS6Rwn7XegbK3LWUcbRE7qM3rNX DCpa+fBRUhRozMFa/mUkVTVpEhBoTR2+Zr5wAGKeZlfHFdtfzHQntdunH/PKBoYXaRAt 0mqe+PzUlXtNMBAzXEjyRq0g91L0kgYEBRl25l5HUvcvb6GOITNIg2x6LJu6VkgD3HGB EOI/BEEnATbHYUXjQc3xZqafW0zHdwz6iwipe25Ztz0OjGmeqo5L3HHSpdoWZAWGkFoy +cNvzUspXjP42iHYcAJefXvf5X1XOyN+/iedm3Xw9uuLyFK7na+ihJ1mscpUTtBtzb2F c4YQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l64si1532877edl.306.2019.11.20.21.53.31; Wed, 20 Nov 2019 21:54:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726536AbfKUFwr (ORCPT + 99 others); Thu, 21 Nov 2019 00:52:47 -0500 Received: from namei.org ([65.99.196.166]:41520 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbfKUFwr (ORCPT ); Thu, 21 Nov 2019 00:52:47 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id xAL5qePx005639; Thu, 21 Nov 2019 05:52:40 GMT Date: Thu, 21 Nov 2019 16:52:40 +1100 (AEDT) From: James Morris To: Scott Mayhew cc: anna.schumaker@netapp.com, trond.myklebust@hammerspace.com, David Howells , viro@zeniv.linux.org.uk, linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH v5 15/27] nfs: get rid of ->set_security() In-Reply-To: <20191120152750.6880-16-smayhew@redhat.com> Message-ID: References: <20191120152750.6880-1-smayhew@redhat.com> <20191120152750.6880-16-smayhew@redhat.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, 20 Nov 2019, Scott Mayhew wrote: > From: Al Viro > > it's always either nfs_set_sb_security() or nfs_clone_sb_security(), > the choice being controlled by mount_info->cloned != NULL. No need > to add methods, especially when both instances live right next to > the caller and are never accessed anywhere else. > > Reviewed-by: David Howells > Signed-off-by: Al Viro Please ensure that any changes relating to the LSM API are cc'd to the linux-security-module list. -- James Morris