Searched refs:owned_names (Results 1 - 4 of 4) sorted by relevance

/systemd/src/bus-proxyd/
H A Ddriver.h27 int bus_proxy_process_driver(Proxy *p, sd_bus *a, sd_bus *b, sd_bus_message *m, SharedPolicy *sp, const struct ucred *ucred, Set *owned_names);
H A Dproxy.h39 Set *owned_names; member in struct:Proxy
H A Dproxy.c248 p->owned_names = set_new(&string_hash_ops);
249 if (!p->owned_names)
300 set_free_free(p->owned_names);
450 static int process_policy_unlocked(sd_bus *from, sd_bus *to, sd_bus_message *m, Policy *policy, const struct ucred *our_ucred, Set *owned_names) { argument
510 if (policy_check_send(policy, sender_uid, sender_gid, m->header->type, owned_names, NULL, m->path, m->interface, m->member, false, NULL) &&
581 if (policy_check_recv(policy, destination_uid, destination_gid, m->header->type, owned_names, NULL, m->path, m->interface, m->member, true))
596 static int process_policy(sd_bus *from, sd_bus *to, sd_bus_message *m, SharedPolicy *sp, const struct ucred *our_ucred, Set *owned_names) { argument
603 r = process_policy_unlocked(from, to, m, policy, our_ucred, owned_names);
780 r = process_policy(p->destination_bus, p->local_bus, m, p->policy, &p->local_creds, p->owned_names);
862 r = bus_proxy_process_driver(p, p->destination_bus, p->local_bus, m, p->policy, &p->local_creds, p->owned_names);
[all...]
H A Ddriver.c96 int bus_proxy_process_driver(Proxy *p, sd_bus *a, sd_bus *b, sd_bus_message *m, SharedPolicy *sp, const struct ucred *ucred, Set *owned_names) { argument
539 set_remove(owned_names, (char*) name);
587 r = set_put_strdup(owned_names, name);
596 set_remove(owned_names, (char*) name);

Completed in 1123 milliseconds