summaryrefslogtreecommitdiff
path: root/src/core/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-11 22:51:49 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-11 22:51:49 +0200
commitb2c23da8cea1987a1a329f5a964d3299b7ca7890 (patch)
tree66f369f148c30ef8d63b32cc33686b0370c6cbf8 /src/core/load-fragment.c
parent8b4305c7354f572fa0390b7580ba30af741aa0a5 (diff)
core: rename SystemdRunningAs to ManagerRunningAs
It's primarily just a property of the Manager object after all, and we try to refer to PID 1 as "manager" instead of "systemd", hence let's to stick to this here too.
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r--src/core/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c
index 970120ab70..33d9e2714a 100644
--- a/src/core/load-fragment.c
+++ b/src/core/load-fragment.c
@@ -2408,7 +2408,7 @@ int config_parse_syscall_filter(
/* Turn on NNP, but only if it wasn't configured explicitly
* before, and only if we are in user mode. */
- if (!c->no_new_privileges_set && u->manager->running_as == SYSTEMD_USER)
+ if (!c->no_new_privileges_set && u->manager->running_as == MANAGER_USER)
c->no_new_privileges = true;
return 0;