From d9c4f21a139e999f25a68ec9742350efe6d1ad06 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 23 Oct 2014 17:34:30 +0200 Subject: 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 --- src/shared/mkdir-label.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/mkdir-label.c') diff --git a/src/shared/mkdir-label.c b/src/shared/mkdir-label.c index 965ef7939f..b754a1ed66 100644 --- a/src/shared/mkdir-label.c +++ b/src/shared/mkdir-label.c @@ -33,13 +33,13 @@ static int label_mkdir(const char *path, mode_t mode) { int r; - if (use_selinux()) { + if (mac_selinux_use()) { r = mac_selinux_mkdir(path, mode); if (r < 0) return r; } - if (use_smack()) { + if (mac_smack_use()) { r = mkdir(path, mode); if (r < 0 && errno != EEXIST) return -errno; -- cgit v1.2.3-54-g00ecf