/systemd-251/src/systemd/ |
D | sd-bus.h | 42 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/ |
D | bus-creds.c | 33 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 …]
|
D | bus-creds.h | 8 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);
|
D | bus-control.c | 428 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()
|
D | bus-dump.h | 9 int bus_creds_dump(sd_bus_creds *c, FILE *f, bool terse);
|
D | test-bus-creds.c | 10 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in main()
|
D | bus-convenience.c | 613 _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()
|
D | bus-dump.c | 281 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()
|
D | bus-message.h | 74 sd_bus_creds creds;
|
D | bus-message.c | 1109 _public_ sd_bus_creds *sd_bus_message_get_creds(sd_bus_message *m) { in sd_bus_message_get_creds()
|
/systemd-251/src/core/ |
D | selinux-access.c | 31 sd_bus_creds *creds; 187 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in mac_selinux_access_check_internal()
|
D | dbus.c | 98 _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()
|
D | dbus-scope.c | 82 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_scope_set_transient_property()
|
D | dbus-manager.c | 475 _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()
|
D | dbus-unit.c | 1446 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_unit_method_attach_processes()
|
/systemd-251/src/login/ |
D | logind-session-dbus.c | 238 _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()
|
D | logind-dbus.c | 83 _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()
|
D | logind-user-dbus.c | 341 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in user_node_enumerator()
|
D | logind-seat-dbus.c | 336 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in seat_node_enumerator()
|
/systemd-251/src/shared/ |
D | bus-polkit.c | 11 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in check_good_user()
|
/systemd-251/src/machine/ |
D | machined-dbus.c | 161 _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()
|
D | machine-dbus.c | 1183 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in machine_object_find()
|
/systemd-251/src/home/ |
D | homed-home-bus.c | 59 _cleanup_(sd_bus_creds_unrefp) sd_bus_creds *creds = NULL; in bus_home_client_is_trusted()
|
/systemd-251/src/resolve/ |
D | resolved-bus.c | 448 _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/ |
D | busctl.c | 244 _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()
|