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

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

 



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.

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

  Powered by Linux