|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Thu, 2011-11-17 at 11:15 +0100, Bhargava Shastry wrote:Because SELinux has no way to interpret the xattr value if there is no
> Sounds to me like you never loaded a policy. I'd bet you are
> getting
> inside the if (!ss_initialized) section of
> security_sid_to_context_core. You have to load a policy
> before you
> can properly set and retrieve labels.
>
> Thanks, loading policy fixed the problem although I wonder why one
> shouldn't be able to set xattr in the absence of a policy.
policy loaded.
--
Stephen Smalley
National Security Agency
[Fedora Users] [Fedora Legacy] [Fedora Desktop] [Yosemite Photos] [Yosemite News] [Yosemite Campsites] [KDE Users] [Gnome Users]