summaryrefslogtreecommitdiff
path: root/src/shared/label.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-23 17:34:30 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-10-25 14:03:47 -0400
commitd9c4f21a139e999f25a68ec9742350efe6d1ad06 (patch)
treeed4e460bf9a44989158651403fcbde13f768bdd0 /src/shared/label.c
parent538bf2441fa44b423c8bdf9d9c70b021c3f3334f (diff)
mac: also rename use_{smack,selinux,apparmor}() calls so that they share the new mac_{smack,selinux,apparmor}_xyz() convention
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/shared/label.c')
-rw-r--r--src/shared/label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/label.c b/src/shared/label.c
index 4b0960b96c..5124d2c55f 100644
--- a/src/shared/label.c
+++ b/src/shared/label.c
@@ -23,13 +23,13 @@
int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) {
int r = 0;
- if (use_selinux()) {
+ if (mac_selinux_use()) {
r = mac_selinux_fix(path, ignore_enoent, ignore_erofs);
if (r < 0)
return r;
}
- if (use_smack()) {
+ if (mac_smack_use()) {
r = mac_smack_relabel_in_dev(path);
if (r < 0)
return r;