| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Checking FS type |
| From: | Diyab <diyab@xxxxxxxxxxxx> |
| Date: | Sun, 11 Jan 2004 13:29:04 -0500 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <20040111095350.A19788@infradead.org> |
| References: | <40007A49.4060907@r00td0wn.net> <20040111095350.A19788@infradead.org> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 |
Christoph Hellwig wrote:
On Sat, Jan 10, 2004 at 05:18:49PM -0500, 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. Timothy, |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: XFS_WANT_FUNCS, Eric Sandeen |
|---|---|
| Next by Date: | Re: Checking FS type, Eric Sandeen |
| Previous by Thread: | Re: Checking FS type, Christoph Hellwig |
| Next by Thread: | Re: Checking FS type, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |