diff options
author | Gabriel de Perthuis <g2p.code@gmail.com> | 2015-09-10 16:45:28 +0200 |
---|---|---|
committer | Gabriel de Perthuis <g2p.code@gmail.com> | 2015-09-11 18:25:41 +0200 |
commit | b9c50073fcc1460ca1ff309189f26a1c0c5fc884 (patch) | |
tree | a732ec18d2c85559c94fb87af4ff0cd99a8236b5 /src/shared/bus-util.c | |
parent | 85bc8c64e9b6303b922ce51288e2a3ebd0c61adc (diff) |
Hook more properties for transient units
systemd-run can now launch units with PrivateTmp, PrivateDevices,
PrivateNetwork, NoNewPrivileges set.
Diffstat (limited to 'src/shared/bus-util.c')
-rw-r--r-- | src/shared/bus-util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 4dc4ca581d..e144f86009 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -1423,7 +1423,8 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen if (STR_IN_SET(field, "CPUAccounting", "MemoryAccounting", "BlockIOAccounting", "TasksAccounting", "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies", - "IgnoreSIGPIPE", "TTYVHangup", "TTYReset", "RemainAfterExit")) { + "IgnoreSIGPIPE", "TTYVHangup", "TTYReset", "RemainAfterExit", + "PrivateTmp", "PrivateDevices", "PrivateNetwork", "NoNewPrivileges")) { r = parse_boolean(eq); if (r < 0) { |