[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200702070055.10856.agruen@suse.de>
Date: Wed, 7 Feb 2007 00:55:10 -0800
From: Andreas Gruenbacher <agruen@...e.de>
To: Stephen Smalley <sds@...ho.nsa.gov>, Jeff Mahoney <jeffm@...e.de>
Cc: Christoph Hellwig <hch@...radead.org>, Tony Jones <tonyj@...e.de>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
chrisw@...s-sol.org, linux-security-module@...r.kernel.org,
viro@...iv.linux.org.uk
Subject: Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks
On Tuesday 06 February 2007 04:55, Stephen Smalley wrote:
> On Mon, 2007-02-05 at 18:13 -0800, Andreas Gruenbacher wrote:
> > Reiserfs should probably just mark all its xattr inodes as private in
> > order to play nicely with other lsms. As far as pathname based lsms are
> > concerned, pathnames to those fs-internal objects are meaningless though,
> > and so we pass NULL here.
>
> That should be handled by the current marking of reiserfs xattr inodes
> with S_PRIVATE and the tests for IS_PRIVATE in include/linux/security.h
> (and in one instance, within SELinux itself).
Reiserfs currently only marks the ".reiserfs_priv" directory as private, but
not the files below it -- how about the attached patch to fix that?
Andreas
View attachment "reiserfs-mark-xattrs-private.diff" of type "text/x-diff" (3482 bytes)
Powered by blists - more mailing lists