From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Becker Subject: Re: [PATCH 2/2] ocfs2: ensure trusted xattrs are not returned to unprivileged users via listxattr Date: Tue, 2 Mar 2010 01:29:47 -0800 Message-ID: <20100302092946.GA21180@mail.oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, David Woodhouse , Mark Fasheh , Alex Elder , Chris Mason , a.gruenbacher@computer.org To: James Morris Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-security-module-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Mar 02, 2010 at 07:02:22PM +1100, James Morris wrote: > Ensure that trusted xattrs are not returned to unprivileged users > via listxattr, in keeping with several other implmentations, such > as ext3. > > Signed-off-by: James Morris If this is the standard expectation, why not lift it up into the vfs? Acked-by: Joel Becker -- "The nearest approach to immortality on Earth is a government bureau." - James F. Byrnes Joel Becker Principal Software Developer Oracle E-mail: joel.becker@oracle.com Phone: (650) 506-8127