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

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



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.

[Fedora Users]     [Fedora Legacy]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

Powered by Linux