From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC 09/11] vfs: Add igetxattr inode operation Date: Thu, 20 Aug 2015 23:48:46 -0700 Message-ID: <20150821064846.GA32060@infradead.org> References: <1440094798-1411-1-git-send-email-agruenba@redhat.com> <1440094798-1411-10-git-send-email-agruenba@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Viro , Christoph Hellwig , Eric Paris , "Aneesh Kumar K.V" , linux-fsdevel@vger.kernel.org, David Quigley , "J. Bruce Fields" , linux-security-module@vger.kernel.org, cluster-devel@redhat.com To: Andreas Gruenbacher Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:40371 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582AbbHUGsu (ORCPT ); Fri, 21 Aug 2015 02:48:50 -0400 Content-Disposition: inline In-Reply-To: <1440094798-1411-10-git-send-email-agruenba@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Aug 20, 2015 at 08:19:56PM +0200, Andreas Gruenbacher wrote: > Add an igetxattr inode operation that behaves as getxattr but operates on > inodes instead of dentries. File systems that support this operation can > implement igetxattr for reading xattrs in contexts where a dentry is not > available, such as within SELinux inode security checks. And this is even worse - we should not have two operations doing the same thing.