Home
last modified time | relevance | path

Searched refs:SD_BUS_CREDS_EUID (Results 1 – 16 of 16) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-creds.c188 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()
Dbus-control.c511 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()
Dbus-convenience.c675 …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()
Dbus-dump.c374 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()
Dsd-bus.c1257 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/
Dbus-polkit.c20 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()
Dbus-util.c541 …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/
Dlogind-session-dbus.c250 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()
Dlogind-dbus.c1252 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/
Dselinux-access.c209 SD_BUS_CREDS_PID|SD_BUS_CREDS_EUID|SD_BUS_CREDS_EGID| in mac_selinux_access_check_internal()
Ddbus.c108 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()
Ddbus-unit.c1482 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/
Dhomed-home-bus.c68 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in bus_home_client_is_trusted()
/systemd-251/src/systemd/
Dsd-bus.h63 SD_BUS_CREDS_EUID = 1ULL << 4, enumerator
/systemd-251/src/resolve/
Dresolved-bus.c1919 r = sd_bus_query_sender_creds(message, SD_BUS_CREDS_EUID, &creds); in bus_method_register_service()
/systemd-251/src/busctl/
Dbusctl.c282 SD_BUS_CREDS_EUID|SD_BUS_CREDS_PID|SD_BUS_CREDS_COMM| in list_bus_names()