diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-10-23 17:34:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-10-23 17:34:30 +0200 |
commit | 6baa7db00812437bbc87e73faa1a11b6cf631958 (patch) | |
tree | f3c4041b684cd55fe23d06eff9761ab2aca31332 /src/core/selinux-access.c | |
parent | cc56fafeebf814ef035e549115cf1850e6473fa5 (diff) |
mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new mac_{smack,selinux,apparmor}_xyz() convention
Diffstat (limited to 'src/core/selinux-access.c')
-rw-r--r-- | src/core/selinux-access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c index 184f202c1e..08ea6efb78 100644 --- a/src/core/selinux-access.c +++ b/src/core/selinux-access.c @@ -142,7 +142,7 @@ static int selinux_access_init(sd_bus_error *error) { if (initialized) return 0; - if (!use_selinux()) + if (!mac_selinux_use()) return 0; r = access_init(); @@ -186,7 +186,7 @@ int selinux_generic_access_check( assert(permission); assert(error); - if (!use_selinux()) + if (!mac_selinux_use()) return 0; r = selinux_access_init(error); |