Merge pull request #2053 from poettering/selinux-fix

Two unrelated fixes
This commit is contained in:
David Herrmann
2015-11-30 19:30:03 +01:00
10 changed files with 28 additions and 17 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ static int condition_test_security(Condition *c) {
assert(c->type == CONDITION_SECURITY);
if (streq(c->parameter, "selinux"))
return mac_selinux_use();
return mac_selinux_have();
if (streq(c->parameter, "smack"))
return mac_smack_use();
if (streq(c->parameter, "apparmor"))