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

/systemd/src/bus-proxyd/
H A Dtest-bus-xml-policy.c79 assert_se(policy_check_own(&p, 0, 0, "org.test.test1") == true);
80 assert_se(policy_check_own(&p, 1, 0, "org.test.test1") == true);
82 assert_se(policy_check_own(&p, 0, 0, "org.test.test2") == true);
83 assert_se(policy_check_own(&p, 1, 0, "org.test.test2") == false);
85 assert_se(policy_check_own(&p, 0, 0, "org.test.test3") == false);
86 assert_se(policy_check_own(&p, 1, 0, "org.test.test3") == false);
88 assert_se(policy_check_own(&p, 0, 0, "org.test.test4") == false);
89 assert_se(policy_check_own(&p, 1, 0, "org.test.test4") == true);
129 assert_se(policy_check_own(&p, 0, 0, "org.freedesktop") == false);
130 assert_se(policy_check_own(
[all...]
H A Dbus-xml-policy.h89 bool policy_check_own(Policy *p, uid_t uid, gid_t gid, const char *name);
H A Ddriver.c570 denied = !policy_check_own(policy, ucred->uid, ucred->gid, name);
H A Dbus-xml-policy.c819 bool policy_check_own(Policy *p, uid_t uid, gid_t gid, const char *name) { function

Completed in 75 milliseconds