Home
last modified time | relevance | path

Searched refs:sd_bus_creds (Results 1 – 25 of 26) sorted by relevance

12

/systemd-251/src/systemd/
Dsd-bus.h42 typedef struct sd_bus_creds sd_bus_creds; typedef
198 int sd_bus_get_owner_creds(sd_bus *bus, uint64_t creds_mask, sd_bus_creds **ret);
297 sd_bus_creds* sd_bus_message_get_creds(sd_bus_message *m); /* do not unref the result */
352 int sd_bus_get_name_creds(sd_bus *bus, const char *name, uint64_t mask, sd_bus_creds **creds); /* u…
391 int sd_bus_query_sender_creds(sd_bus_message *m, uint64_t mask, sd_bus_creds **creds);
399 int sd_bus_creds_new_from_pid(sd_bus_creds **ret, pid_t pid, uint64_t creds_mask);
400 sd_bus_creds* sd_bus_creds_ref(sd_bus_creds *c);
401 sd_bus_creds* sd_bus_creds_unref(sd_bus_creds *c);
402 uint64_t sd_bus_creds_get_mask(const sd_bus_creds *c);
403 uint64_t sd_bus_creds_get_augmented_mask(const sd_bus_creds *c);
[all …]
/systemd-251/src/libsystemd/sd-bus/
Dbus-creds.c33 void bus_creds_done(sd_bus_creds *c) { in bus_creds_done()
58 _public_ sd_bus_creds *sd_bus_creds_ref(sd_bus_creds *c) { in sd_bus_creds_ref()
78 _public_ sd_bus_creds *sd_bus_creds_unref(sd_bus_creds *c) { in sd_bus_creds_unref()
117 _public_ uint64_t sd_bus_creds_get_mask(const sd_bus_creds *c) { in sd_bus_creds_get_mask()
123 _public_ uint64_t sd_bus_creds_get_augmented_mask(const sd_bus_creds *c) { in sd_bus_creds_get_augmented_mask()
129 sd_bus_creds* bus_creds_new(void) { in bus_creds_new()
130 sd_bus_creds *c; in bus_creds_new()
132 c = new0(sd_bus_creds, 1); in bus_creds_new()
141 _public_ int sd_bus_creds_new_from_pid(sd_bus_creds **ret, pid_t pid, uint64_t mask) { in sd_bus_creds_new_from_pid()
142 sd_bus_creds *c; in sd_bus_creds_new_from_pid()
[all …]
Dbus-creds.h8 struct sd_bus_creds { struct
66 sd_bus_creds* bus_creds_new(void); argument
68 void bus_creds_done(sd_bus_creds *c);
70 int bus_creds_add_more(sd_bus_creds *c, uint64_t mask, pid_t pid, pid_t tid);
72 int bus_creds_extend_by_pid(sd_bus_creds *c, uint64_t mask, sd_bus_creds **ret);
Dbus-control.c428 sd_bus_creds **creds) { in sd_bus_get_name_creds()
431 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *c = NULL; in sd_bus_get_name_creds()
725 _public_ int sd_bus_get_owner_creds(sd_bus *bus, uint64_t mask, sd_bus_creds **ret) { in sd_bus_get_owner_creds()
726 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *c = NULL; in sd_bus_get_owner_creds()
Dbus-dump.h9 int bus_creds_dump(sd_bus_creds *c, FILE *f, bool terse);
Dtest-bus-creds.c10 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in main()
Dbus-convenience.c613 _public_ int sd_bus_query_sender_creds(sd_bus_message *call, uint64_t mask, sd_bus_creds **ret) { in sd_bus_query_sender_creds()
614 sd_bus_creds *c; in sd_bus_query_sender_creds()
660 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in sd_bus_query_sender_privilege()
Dbus-dump.c281 sd_bus_creds *c, in dump_capabilities()
285 int (*has)(sd_bus_creds *c, int capability)) { in dump_capabilities()
330 int bus_creds_dump(sd_bus_creds *c, FILE *f, bool terse) { in bus_creds_dump()
Dbus-message.h74 sd_bus_creds creds;
Dbus-message.c1109 _public_ sd_bus_creds *sd_bus_message_get_creds(sd_bus_message *m) { in sd_bus_message_get_creds()
/systemd-251/src/core/
Dselinux-access.c31 sd_bus_creds *creds;
187 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in mac_selinux_access_check_internal()
Ddbus.c98 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in signal_agent_released()
247 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in mac_selinux_filter()
286 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in find_unit()
Ddbus-scope.c82 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_scope_set_transient_property()
Ddbus-manager.c475 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_get_unit_by_name()
572 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_get_unit_by_pid()
615 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_get_unit_by_invocation_id()
Ddbus-unit.c1446 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_unit_method_attach_processes()
/systemd-251/src/login/
Dlogind-session-dbus.c238 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_set_idle_hint()
271 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_set_locked_hint()
346 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_take_control()
528 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_set_brightness()
651 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in session_node_enumerator()
Dlogind-dbus.c83 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in get_sender_session()
157 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in get_sender_user()
823 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_create_session()
1237 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_set_user_linger()
1769 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in verify_shutdown_creds()
1849 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in setup_wall_message_timer()
2348 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_cancel_scheduled_shutdown()
2373 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_can_shutdown_or_sleep()
3232 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_inhibit()
Dlogind-user-dbus.c341 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in user_node_enumerator()
Dlogind-seat-dbus.c336 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in seat_node_enumerator()
/systemd-251/src/shared/
Dbus-polkit.c11 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in check_good_user()
/systemd-251/src/machine/
Dmachined-dbus.c161 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_get_machine_by_pid()
288 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in method_create_or_register_machine()
Dmachine-dbus.c1183 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in machine_object_find()
/systemd-251/src/home/
Dhomed-home-bus.c59 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_home_client_is_trusted()
/systemd-251/src/resolve/
Dresolved-bus.c448 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_client_log()
1899 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_method_register_service()
/systemd-251/src/busctl/
Dbusctl.c244 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in list_bus_names()
1360 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in status()

12