From: Lennart Poettering Date: Wed, 11 Aug 2010 21:19:28 +0000 (+0200) Subject: dbus: properly pass capabilities X-Git-Tag: v8~117 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444a79d34034aa8bfe60b92b0bb9e970803cbfb7;p=systemd dbus: properly pass capabilities --- diff --git a/fixme b/fixme index 02e80e88..32bd40fa 100644 --- a/fixme +++ b/fixme @@ -53,24 +53,18 @@ * follow property change dbus spec -* selinux policy loading/socket stuff +* selinux policy loading * systemctl status $PID, systemctl stop $PID! * place /etc/inittab with explaining blurb. -* vielleicht implizit immer auf syslog dependen? - -* debian deadlock when partition set to noauto - * fingerprint.target, wireless.target, gps.target * set_put(), hashmap_put() return values checken. i.e. == 0 macht kein free()! * fix merging in .swap units -* pahole - * chkconfig/systemd-install glue * io priority during initialization @@ -129,3 +123,7 @@ Regularly: * Use PR_SET_PROCTITLE_AREA if it becomes available in the kernel * %m in printf() instead of strerror(); + +* pahole + +* CFLAGS="-Wl,--gc-sections -Wl,--print-gc-sections -ffunction-sections -fdata-sections" diff --git a/src/dbus-execute.h b/src/dbus-execute.h index 6cd88d41..a00acbe2 100644 --- a/src/dbus-execute.h +++ b/src/dbus-execute.h @@ -127,7 +127,7 @@ { interface, "SyslogPriority", bus_property_append_int, "i", &(context).syslog_priority }, \ { interface, "SyslogIdentifier", bus_property_append_string, "s", (context).syslog_identifier }, \ { interface, "SyslogLevelPrefix", bus_property_append_bool, "b", &(context).syslog_level_prefix }, \ - { interface, "Capabilities", bus_property_append_string, "s", (context).capabilities }, \ + { interface, "Capabilities", bus_execute_append_capabilities, "s", (context).capabilities }, \ { interface, "SecureBits", bus_property_append_int, "i", &(context).secure_bits }, \ { interface, "CapabilityBoundingSetDrop", bus_property_append_uint64, "t", &(context).capability_bounding_set_drop }, \ { interface, "User", bus_property_append_string, "s", (context).user }, \