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/ima-setup.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core/ima-setup.c') diff --git a/src/core/ima-setup.c b/src/core/ima-setup.c index e8cc1ba8b6..7f8ec23d58 100644 --- a/src/core/ima-setup.c +++ b/src/core/ima-setup.c @@ -50,11 +50,6 @@ int ima_setup(void) { int policyfd = -1, imafd = -1; int result = 0; -#ifndef HAVE_SELINUX - /* Mount the securityfs filesystem */ - mount_setup_early(); -#endif - if (stat(IMA_POLICY_PATH, &st) < 0) return 0; -- cgit v1.2.3-54-g00ecf