diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-18 03:13:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-18 04:52:45 +0100 |
commit | 260abb780a135e4cae8c10715c7e85675efc345a (patch) | |
tree | a21a20d20b33ea05c68442b9970e0b6d9a02434e /src/dbus-execute.h | |
parent | 893844ed434e35e6227e0b17c16b7047360170e2 (diff) |
exec: properly apply capability bounding set, add inverted bounding sets
Diffstat (limited to 'src/dbus-execute.h')
-rw-r--r-- | src/dbus-execute.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus-execute.h b/src/dbus-execute.h index 082456a9ec..8bfaaaf120 100644 --- a/src/dbus-execute.h +++ b/src/dbus-execute.h @@ -131,7 +131,7 @@ { interface, "SyslogLevelPrefix", bus_property_append_bool, "b", &(context).syslog_level_prefix }, \ { interface, "Capabilities", bus_execute_append_capabilities, "s",&(context) }, \ { interface, "SecureBits", bus_property_append_int, "i", &(context).secure_bits }, \ - { interface, "CapabilityBoundingSetDrop", bus_property_append_uint64, "t", &(context).capability_bounding_set_drop }, \ + { interface, "CapabilityBoundingSet", bus_execute_append_capability_bs, "t", &(context).capability_bounding_set_drop }, \ { interface, "User", bus_property_append_string, "s", (context).user }, \ { interface, "Group", bus_property_append_string, "s", (context).group }, \ { interface, "SupplementaryGroups", bus_property_append_strv, "as", (context).supplementary_groups }, \ @@ -167,6 +167,7 @@ int bus_execute_append_cpu_sched_priority(Manager *m, DBusMessageIter *i, const int bus_execute_append_affinity(Manager *m, DBusMessageIter *i, const char *property, void *data); int bus_execute_append_timer_slack_nsec(Manager *m, DBusMessageIter *i, const char *property, void *data); int bus_execute_append_capabilities(Manager *m, DBusMessageIter *i, const char *property, void *data); +int bus_execute_append_capability_bs(Manager *m, DBusMessageIter *i, const char *property, void *data); int bus_execute_append_rlimits(Manager *m, DBusMessageIter *i, const char *property, void *data); int bus_execute_append_command(Manager *m, DBusMessageIter *u, const char *property, void *data); int bus_execute_append_kill_mode(Manager *m, DBusMessageIter *i, const char *property, void *data); |