summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorJonathan Boulle <jonathanboulle@gmail.com>2016-05-20 15:09:14 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-20 15:09:14 +0200
commit186ad4b1a05b5c5d231a3b4b7faba8a5c40e3c9d (patch)
tree9fef694a323d14f7d1dd09652cdd2a0af48e4f08 /src/shared
parentf942504e4f74c6d30d7b73cb602517e055f02152 (diff)
core/dbus: expose SELinuxContext property (#3284)
Adds support to core for systemd D-Bus clients to send the `SELinuxContext` property . This means `systemd-run -p SELinuxContext=foo` should now work.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-unit-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
index 8f0df84793..9431dad411 100644
--- a/src/shared/bus-unit-util.c
+++ b/src/shared/bus-unit-util.c
@@ -235,7 +235,7 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
"StandardInput", "StandardOutput", "StandardError",
"Description", "Slice", "Type", "WorkingDirectory",
"RootDirectory", "SyslogIdentifier", "ProtectSystem",
- "ProtectHome"))
+ "ProtectHome", "SELinuxContext"))
r = sd_bus_message_append(m, "v", "s", eq);
else if (streq(field, "SyslogLevel")) {