From 8f838d8aab0c5480664de04dce0171de4f4c7b00 Mon Sep 17 00:00:00 2001 From: Nathaniel Chen Date: Thu, 7 Mar 2013 11:06:57 -0800 Subject: core: move mount_setup_early() to main.c move mount_setup_early() call to main.c, before security module setup, so there are no more repeat calls. --- src/core/selinux-setup.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/core/selinux-setup.c') diff --git a/src/core/selinux-setup.c b/src/core/selinux-setup.c index e9c0de92f1..0723d7c8ba 100644 --- a/src/core/selinux-setup.c +++ b/src/core/selinux-setup.c @@ -58,9 +58,6 @@ int selinux_setup(bool *loaded_policy) { cb.func_log = null_log; selinux_set_callback(SELINUX_CB_LOG, cb); - /* Make sure getcon() works, which needs /proc and /sys */ - mount_setup_early(); - /* Already initialized by somebody else? */ r = getcon_raw(&con); if (r == 0) { -- cgit v1.2.3-54-g00ecf