From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967199AbeAORTR (ORCPT + 1 other); Mon, 15 Jan 2018 12:19:17 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:47016 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932872AbeAORTP (ORCPT ); Mon, 15 Jan 2018 12:19:15 -0500 Date: Mon, 15 Jan 2018 09:19:14 -0800 From: Christoph Hellwig To: Mimi Zohar Cc: Christoph Hellwig , linux-integrity , linux-security-module , linux-fsdevel , linux-kernel , Dongsu Park , Alban Crequy , Seth Forshee Subject: Re: [PATCH] ima: define new policy condition based on the filesystem name Message-ID: <20180115171914.GB28088@infradead.org> References: <1516033236.6607.6.camel@linux.vnet.ibm.com> <20180115162726.GB15686@infradead.org> <1516034407.6607.26.camel@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1516034407.6607.26.camel@linux.vnet.ibm.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Mon, Jan 15, 2018 at 11:40:07AM -0500, Mimi Zohar wrote: > rootfs IS different than other filesystems, as other filesystems > uniquely identify the underlying filesystem type.  rootfs can be a > ramfs or tmpfs filesystem.  Only tmpfs supports xattrs. Tons of filesystems only have xattrs optionally. Check for goddamn xattrs if that is the requirement and not a name that has absolutely zero meaning for functionality. That is the whole point!