Searched defs:sender_uid (Results 1 - 4 of 4) sorted by relevance
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-convenience.c | 600 uid_t sender_uid; local 610 r = sd_bus_creds_get_euid(creds, &sender_uid); 612 r = sd_bus_creds_get_uid(creds, &sender_uid); 616 if (sender_uid == our_uid) 620 if (our_uid != 0 && sender_uid == 0)
|
/systemd/src/bus-proxyd/ |
H A D | proxy.c | 477 uid_t sender_uid = UID_INVALID; local 488 (void) sd_bus_creds_get_euid(&m->creds, &sender_uid); 491 if (sender_uid == UID_INVALID || sender_gid == GID_INVALID) { 505 (void) sd_bus_creds_get_euid(sender_creds, &sender_uid); 510 if (policy_check_send(policy, sender_uid, sender_gid, m->header->type, owned_names, NULL, m->path, m->interface, m->member, false, NULL) &&
|
/systemd/src/core/ |
H A D | dbus.c | 78 uid_t sender_uid; local 101 r = sd_bus_creds_get_euid(creds, &sender_uid); 102 if (r < 0 || sender_uid != 0)
|
/systemd/src/shared/ |
H A D | bus-util.c | 225 uid_t sender_uid; local 240 r = sd_bus_creds_get_euid(creds, &sender_uid); 244 return sender_uid == good_user;
|
Completed in 27 milliseconds