Re: "operation not support" when execute #restorecon -R /

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/05/2012 21:34, casinee app wrote:
the NFS. I had applied a patch to the kernel to support the xattr of
NFS filesystem.

2012/6/5 David Quigley <selinux@xxxxxxxxxxxxxxx>

On 06/05/2012 02:51, casinee app wrote:

Hi,
when i execute #restorecon -R / , all the output is "... operation
not support".  I had check the source code, and in
linux/security/selinux/hooks.c :

         ...
 sbsec = inode->i_sb->s_security;
 if (!(sbsec->flags & SE_SBLABELSUPP))
 {
 return -EOPNOTSUPP;
 }
        ...
it returned. The  SE_SBLABELSUPP defined as 0x40, i want to know how
can i do to make the filesystem to support the SecurityContext of
selinux. 
Thanks.

Which filesystem is this?

Dave

Where did you get this patch? Is it supposed to be generic xattr support in NFS? if so what version?

Dave


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux