[systemd-devel] [PATCH 2/2] core: let selinux_setup() load policy more than once

Colin Walters walters at verbum.org
Mon Apr 28 10:00:44 PDT 2014


On Fri, Apr 25, 2014 at 6:26 PM, Will Woods <wwoods at redhat.com> wrote:
> 
> But if SELinux was already initialized, selinux_setup() skips loading
> policy and returns 0. So if you load policy normally, and then you
> switch-root to a new root that has new policy, selinux_setup() never
> loads the new policy. What gives?

I think your analysis is correct, and the patch looks good to me.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140428/2fd73029/attachment.html>


More information about the systemd-devel mailing list