On 10/14/2015 1:40 PM, Stephen Smalley wrote: > On 10/14/2015 01:38 PM, Dominick Grift wrote: >> On Wed, Oct 14, 2015 at 07:34:16PM +0200, Dominick Grift wrote: >> >>> Setools(4) doesnt work with my policy (it can't deal with cil namespaces >>> seemingly, and returns non-sense) Dominick, would you mind sending me your policy off-list so I can debug this? >> Besides. did you know that setools (4) does not use >> /sys/fs/selinux/policy? It uses /etc/selinux/SELINUXTYPE/policy/policy.X >> instead. This sounded to me like a bad idea. Mainly because you don't >> know if the /etc/selinux/SELINUXTYPE/policy/policy.X is the policy that >> is currently actually loaded into the system. > > It should use selinux_current_policy_path() to find the policy. It does use it, but as a fallback. I've since changed the code to try the selinux_current_policy_path() first. -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com _______________________________________________ Selinux mailing list Selinux@xxxxxxxxxxxxx To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx. To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.