Home
last modified time | relevance | path

Searched refs:sender_uid (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/shared/
Dbus-polkit.c12 uid_t sender_uid; in check_good_user() local
27 r = sd_bus_creds_get_euid(creds, &sender_uid); in check_good_user()
31 return sender_uid == good_user; in check_good_user()
/systemd-251/src/libsystemd/sd-bus/
Dbus-convenience.c701 uid_t sender_uid; in sd_bus_query_sender_privilege() local
711 r = sd_bus_creds_get_euid(creds, &sender_uid); in sd_bus_query_sender_privilege()
713 r = sd_bus_creds_get_uid(creds, &sender_uid); in sd_bus_query_sender_privilege()
717 if (sender_uid == our_uid) in sd_bus_query_sender_privilege()
721 if (our_uid != 0 && sender_uid == 0) in sd_bus_query_sender_privilege()
/systemd-251/src/core/
Ddbus.c101 uid_t sender_uid; in signal_agent_released() local
112 r = sd_bus_creds_get_euid(creds, &sender_uid); in signal_agent_released()
113 if (r < 0 || sender_uid != 0) in signal_agent_released()
Ddbus-unit.c1490 uid_t process_uid, sender_uid; in bus_unit_method_attach_processes() local
1517 r = sd_bus_creds_get_euid(creds, &sender_uid); in bus_unit_method_attach_processes()
1523 if (sender_uid != 0 && sender_uid != getuid()) { in bus_unit_method_attach_processes()
1528 if (process_uid != sender_uid) in bus_unit_method_attach_processes()