Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks

Greg KH
2006-04-19T15:51:09Z

On Wed, Apr 19, 2006 at 08:55:56AM -0400, Yuichi Nakamura wrote:
> However, path-name based configuration can not be achieved on SELinux in
> following cases.
> 1) Files on file system that does not support xattr(such as sysfs)
> SELinux policy editor handles all files as same on such file systems.

Hm, I've thought about this in the past and wonder if we should add
xattr support to sysfs. Would it be useful for things like SELinux?
The files would not be created with any xattrs, but would be able to
have them once they are set. Would that be good enough?

thanks,

greg k-h