summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2016-10-09 12:31:51 +0200
committerDjalal Harouni <tixxdz@opendz.org>2016-10-12 14:12:17 +0200
commite66a2f658b182b1fe8e4bc46b384b9967abd2bf2 (patch)
tree1517d53f6e95ce5a3d66a2ab89eb63d98ad22dae /src/core
parent4084e8fc8947566092fd4ee5a07405570fdbf84d (diff)
core: make sure to dump ProtectKernelModules= value
Diffstat (limited to 'src/core')
-rw-r--r--src/core/execute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 71439bc3c2..869522704a 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -3190,6 +3190,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
"%sPrivateTmp: %s\n"
"%sPrivateDevices: %s\n"
"%sProtectKernelTunables: %s\n"
+ "%sProtectKernelModules: %s\n"
"%sProtectControlGroups: %s\n"
"%sPrivateNetwork: %s\n"
"%sPrivateUsers: %s\n"
@@ -3205,6 +3206,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
prefix, yes_no(c->private_tmp),
prefix, yes_no(c->private_devices),
prefix, yes_no(c->protect_kernel_tunables),
+ prefix, yes_no(c->protect_kernel_modules),
prefix, yes_no(c->protect_control_groups),
prefix, yes_no(c->private_network),
prefix, yes_no(c->private_users),