Others are working on looking at adding a security.* namespace
to xfs, you should probably coordinate with them. Hopefully
they'll chime in on the list.
On Sun, 11 Jan 2004, Diyab wrote:
> Ext2/3 does not seem to have root/non-root namespace like XFS does. I
> have not been able to find any specific information about the design of
> Ext2/3 in this manner but the SELinux attribute name on this file system
> is security.selinux. Operating on security.selinux is fine but when you
> try to operate on user.security.selinux the operations fail with
> EOPNOTSUPP. On XFS it is just the opposite, but I can see how stripping
> the namespace prefix from the attribute can make it fail. Basically what
> I am doing is putting a check in the SELinux API to look and see what
> the attribute name it should be using is. If it's on XFS it operates on
> user.security.selinux, otherwise it operates on security.selinux.