Home
last modified time | relevance | path

Searched refs:euid (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/libsystemd/sd-bus/
Dbus-creds.c184 _public_ int sd_bus_creds_get_euid(sd_bus_creds *c, uid_t *euid) { in sd_bus_creds_get_euid() argument
186 assert_return(euid, -EINVAL); in sd_bus_creds_get_euid()
191 *euid = c->euid; in sd_bus_creds_get_euid()
839 unsigned long uid, euid, suid, fsuid; in bus_creds_add_more() local
842 … if (sscanf(p, "%lu %lu %lu %lu", &uid, &euid, &suid, &fsuid) != 4) in bus_creds_add_more()
848 c->euid = (uid_t) euid; in bus_creds_add_more()
1150 n->euid = c->euid; in bus_creds_extend_by_pid()
Dbus-creds.h16 uid_t euid; member
Dbus-control.c565 c->euid = u; in sd_bus_get_name_creds()
675 c->euid = u; in sd_bus_get_name_creds()
761 c->euid = bus->ucred.uid; in sd_bus_get_owner_creds()
Dbus-dump.c375 fprintf(f, "%sEUID=%s"UID_FMT"%s", prefix, color, c->euid, suffix); in bus_creds_dump()
/systemd-251/src/home/
Dhomed-home-bus.c60 uid_t euid; in bus_home_client_is_trusted() local
72 r = sd_bus_creds_get_euid(creds, &euid); in bus_home_client_is_trusted()
76 return euid == 0 || h->uid == euid; in bus_home_client_is_trusted()
/systemd-251/src/resolve/
Dresolved-bus.c1906 uid_t euid; in bus_method_register_service() local
1923 r = sd_bus_creds_get_euid(creds, &euid); in bus_method_register_service()
1926 service->originator = euid; in bus_method_register_service()
/systemd-251/src/systemd/
Dsd-bus.h409 int sd_bus_creds_get_euid(sd_bus_creds *c, uid_t *euid);