diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-08-02 05:24:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-08-02 05:24:58 +0200 |
commit | ff01d048b4c1455241c894cf7982662c9d28fd34 (patch) | |
tree | 025e54f24e3e4879898e4be84b4e082367902f6a /src/dbus-execute.h | |
parent | 4f755fc6ab8b75f89ed84c93cd5c3fac2a448b16 (diff) |
exec: introduce PrivateNetwork= process option to turn off network access to specific services
Diffstat (limited to 'src/dbus-execute.h')
-rw-r--r-- | src/dbus-execute.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dbus-execute.h b/src/dbus-execute.h index 49ad6cb82a..2e306794fe 100644 --- a/src/dbus-execute.h +++ b/src/dbus-execute.h @@ -92,7 +92,8 @@ " <property name=\"KillMode\" type=\"s\" access=\"read\"/>\n" \ " <property name=\"KillSignal\" type=\"i\" access=\"read\"/>\n" \ " <property name=\"UtmpIdentifier\" type=\"s\" access=\"read\"/>\n" \ - " <property name=\"ControlGroupModify\" type=\"b\" access=\"read\"/>\n" + " <property name=\"ControlGroupModify\" type=\"b\" access=\"read\"/>\n" \ + " <property name=\"PrivateNetwork\" type=\"b\" access=\"read\"/>\n" #define BUS_EXEC_COMMAND_INTERFACE(name) \ " <property name=\"" name "\" type=\"a(sasbttuii)\" access=\"read\"/>\n" @@ -151,6 +152,7 @@ { interface, "InaccessibleDirectories", bus_property_append_strv, "as", (context).inaccessible_dirs }, \ { interface, "MountFlags", bus_property_append_ul, "t", &(context).mount_flags }, \ { interface, "PrivateTmp", bus_property_append_bool, "b", &(context).private_tmp }, \ + { interface, "PrivateNetwork", bus_property_append_bool, "b", &(context).private_network }, \ { interface, "SameProcessGroup", bus_property_append_bool, "b", &(context).same_pgrp }, \ { interface, "KillMode", bus_execute_append_kill_mode, "s", &(context).kill_mode }, \ { interface, "KillSignal", bus_property_append_int, "i", &(context).kill_signal }, \ |