diff options
Diffstat (limited to 'src/systemd/sd-bus.h')
-rw-r--r-- | src/systemd/sd-bus.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/systemd/sd-bus.h b/src/systemd/sd-bus.h index 7413d87e69..5d082f26b3 100644 --- a/src/systemd/sd-bus.h +++ b/src/systemd/sd-bus.h @@ -130,10 +130,11 @@ int sd_bus_message_get_gid(sd_bus_message *m, gid_t *gid); int sd_bus_message_get_pid(sd_bus_message *m, pid_t *pid); int sd_bus_message_get_tid(sd_bus_message *m, pid_t *tid); int sd_bus_message_get_pid_starttime(sd_bus_message *m, uint64_t *usec); -const char *sd_bus_message_get_selinux_context(sd_bus_message *m); -const char *sd_bus_message_get_comm(sd_bus_message *m); -const char *sd_bus_message_get_tid_comm(sd_bus_message *m); -const char *sd_bus_message_get_exe(sd_bus_message *m); +int sd_bus_message_get_selinux_context(sd_bus_message *m, const char **r); +int sd_bus_message_get_comm(sd_bus_message *m, const char **r); +int sd_bus_message_get_tid_comm(sd_bus_message *m, const char **r); +int sd_bus_message_get_exe(sd_bus_message *m, const char **r); +int sd_bus_message_get_cgroup(sd_bus_message *m, const char **r); int sd_bus_message_get_cmdline(sd_bus_message *m, char ***cmdline); int sd_bus_message_is_signal(sd_bus_message *m, const char *interface, const char *member); |