Re: [systemd-devel] [PATCH] core: smack-setup: Actually allow for succesfully loading CIPSO policy

2014-09-13 Thread David Herrmann
Hi On Fri, Sep 12, 2014 at 3:49 PM, wrote: > From: Philippe De Swert > > The line under the last switch statement *loaded_policy = true; > would never be executed. As all switch cases return 0. Thus the > policy would never be marked as loaded. > > Found with Coverity. Fixes: CID#1237785 Look

[systemd-devel] [PATCH] core: smack-setup: Actually allow for succesfully loading CIPSO policy

2014-09-12 Thread philippedeswert
From: Philippe De Swert The line under the last switch statement *loaded_policy = true; would never be executed. As all switch cases return 0. Thus the policy would never be marked as loaded. Found with Coverity. Fixes: CID#1237785 --- src/core/smack-setup.c | 2 +- 1 file changed, 1 insertion