Searched refs:SD_BUS_CREDS_EUID (Results 1 – 16 of 16) sorted by relevance
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-creds.c | 188 if (!(c->mask & SD_BUS_CREDS_EUID)) in sd_bus_creds_get_euid() 789 … SD_BUS_CREDS_UID | SD_BUS_CREDS_EUID | SD_BUS_CREDS_SUID | SD_BUS_CREDS_FSUID | in bus_creds_add_more() 836 … if (missing & (SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_SUID|SD_BUS_CREDS_FSUID)) { in bus_creds_add_more() 847 if (missing & SD_BUS_CREDS_EUID) in bus_creds_add_more() 854 … c->mask |= missing & (SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_SUID|SD_BUS_CREDS_FSUID); in bus_creds_add_more() 1149 if (c->mask & mask & SD_BUS_CREDS_EUID) { in bus_creds_extend_by_pid() 1151 n->mask |= SD_BUS_CREDS_EUID; in bus_creds_extend_by_pid()
|
D | bus-control.c | 511 need_uid = mask & SD_BUS_CREDS_EUID; in sd_bus_get_name_creds() 566 c->mask |= SD_BUS_CREDS_EUID; in sd_bus_get_name_creds() 676 c->mask |= SD_BUS_CREDS_EUID; in sd_bus_get_name_creds() 762 c->mask |= SD_BUS_CREDS_EUID & mask; in sd_bus_get_owner_creds()
|
D | bus-convenience.c | 675 …r = sd_bus_query_sender_creds(call, SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_EFFECTIVE_CAPS… in sd_bus_query_sender_privilege() 692 r = sd_bus_query_sender_creds(call, SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID, &creds); in sd_bus_query_sender_privilege() 708 …_return((sd_bus_creds_get_augmented_mask(creds) & (SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID)) == 0, -EPE… in sd_bus_query_sender_privilege()
|
D | bus-dump.c | 374 if (c->mask & SD_BUS_CREDS_EUID) in bus_creds_dump() 399 … if (terse && ((c->mask & (SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_SUID|SD_BUS_CREDS_FSUID| in bus_creds_dump()
|
D | sd-bus.c | 1257 b->creds_mask |= SD_BUS_CREDS_UID | SD_BUS_CREDS_EUID | SD_BUS_CREDS_EFFECTIVE_CAPS; in sd_bus_open_with_description() 1310 b->creds_mask |= SD_BUS_CREDS_UID | SD_BUS_CREDS_EUID | SD_BUS_CREDS_EFFECTIVE_CAPS; in sd_bus_open_system_with_description()
|
/systemd-251/src/shared/ |
D | bus-polkit.c | 20 r = sd_bus_query_sender_creds(m, SD_BUS_CREDS_EUID, &creds); in check_good_user() 25 assert_return((sd_bus_creds_get_augmented_mask(creds) & SD_BUS_CREDS_EUID) == 0, -EPERM); in check_good_user()
|
D | bus-util.c | 541 …r = sd_bus_negotiate_creds(bus, true, SD_BUS_CREDS_UID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_EFFECTIVE_CA… in bus_open_system_watch_bind_with_description()
|
/systemd-251/src/login/ |
D | logind-session-dbus.c | 250 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in method_set_idle_hint() 283 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in method_set_locked_hint() 358 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in method_take_control() 553 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in method_set_brightness()
|
D | logind-dbus.c | 1252 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID | in method_set_user_linger() 1778 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in verify_shutdown_creds() 2391 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in method_can_shutdown_or_sleep() 3294 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID|SD_BUS_CREDS_PID, &creds); in method_inhibit()
|
/systemd-251/src/core/ |
D | selinux-access.c | 209 SD_BUS_CREDS_PID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_EGID| in mac_selinux_access_check_internal()
|
D | dbus.c | 108 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in signal_agent_released() 714 SD_BUS_CREDS_EUID|SD_BUS_CREDS_EFFECTIVE_CAPS| in bus_on_connection() 777 SD_BUS_CREDS_EUID|SD_BUS_CREDS_EFFECTIVE_CAPS| in bus_setup_api()
|
D | dbus-unit.c | 1482 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID|SD_BUS_CREDS_PID, &creds); in bus_unit_method_attach_processes()
|
/systemd-251/src/home/ |
D | homed-home-bus.c | 68 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in bus_home_client_is_trusted()
|
/systemd-251/src/systemd/ |
D | sd-bus.h | 63 SD_BUS_CREDS_EUID = 1ULL << 4, enumerator
|
/systemd-251/src/resolve/ |
D | resolved-bus.c | 1919 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in bus_method_register_service()
|
/systemd-251/src/busctl/ |
D | busctl.c | 282 SD_BUS_CREDS_EUID|SD_BUS_CREDS_PID|SD_BUS_CREDS_COMM| in list_bus_names()
|