xfs
[Top] [All Lists]

Re: Checking FS type

To: Diyab <diyab@xxxxxxxxxxxx>
Subject: Re: Checking FS type
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Sun, 11 Jan 2004 16:11:35 -0600 (CST)
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
In-reply-to: <400195F0.1080807@xxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
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.

-Eric

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.


<Prev in Thread] Current Thread [Next in Thread>