summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorWaLyong Cho <walyong.cho@samsung.com>2014-10-24 21:15:25 +0900
committerLennart Poettering <lennart@poettering.net>2014-10-28 14:31:48 +0100
commit8a188de9e0ea41509beda12084126d7a75ebe86e (patch)
treeb1f87ef531c84ac6f4db82c421db4aa3b8b22d03 /src/core/main.c
parent07788ab9d89db17a11ebfced35d2fad663cd180d (diff)
mac: add mac_ prefix to distinguish origin security apis
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index a0a6ae1f0a..d48604e673 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1293,11 +1293,11 @@ int main(int argc, char *argv[]) {
if (!skip_setup) {
mount_setup_early();
dual_timestamp_get(&security_start_timestamp);
- if (selinux_setup(&loaded_policy) < 0)
+ if (mac_selinux_setup(&loaded_policy) < 0)
goto finish;
if (ima_setup() < 0)
goto finish;
- if (smack_setup(&loaded_policy) < 0)
+ if (mac_smack_setup(&loaded_policy) < 0)
goto finish;
dual_timestamp_get(&security_finish_timestamp);
}