summaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
authorƁukasz Stelmach <l.stelmach@samsung.com>2013-12-19 15:15:54 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-24 17:36:13 +0100
commite49d3c016751c03e544697656e8e596af8a664d7 (patch)
treef9bf2c589b1a3b8d70c019355aa553b042f5c7cd /src/core/main.c
parent2453d7e447057f2652114c1822bfc8c5600236fe (diff)
smack: set loaded_policy in smack_setup()
With loaded_policy set to true mount_setup() relabels /dev properly.
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 086e283dc6..4e24f851e2 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1310,7 +1310,7 @@ int main(int argc, char *argv[]) {
goto finish;
if (ima_setup() < 0)
goto finish;
- if (smack_setup() < 0)
+ if (smack_setup(&loaded_policy) < 0)
goto finish;
dual_timestamp_get(&security_finish_timestamp);
}