Searched defs:access (Results 1 - 6 of 6) sorted by relevance

/systemd/src/core/
H A Dbus-endpoint.h30 BusPolicyAccess access; member in struct:BusEndpointPolicy
40 int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess access);
H A Dbus-policy.h45 BusPolicyAccess access; member in struct:BusNamePolicy
52 int bus_kernel_translate_access(BusPolicyAccess access);
H A Dbus-endpoint.c59 n->policy_access.access = bus_kernel_translate_access(po->access);
82 int bus_endpoint_add_policy(BusEndpoint *ep, const char *name, BusPolicyAccess access) { argument
89 assert(access > _BUS_POLICY_ACCESS_INVALID && access < _BUS_POLICY_ACCESS_MAX);
91 /* check if we already have this name in the policy list. If we do, see if the new access level
98 if (po->access < access)
99 po->access = access;
[all...]
H A Dbus-policy.c30 int bus_kernel_translate_access(BusPolicyAccess access) { argument
31 assert(access >= 0);
32 assert(access < _BUS_POLICY_ACCESS_MAX);
34 switch (access) {
46 assert_not_reached("Unknown policy access");
88 item->policy_access.access = bus_kernel_translate_access(policy->access);
145 n->policy_access.access = bus_kernel_translate_access(world_policy);
H A Dload-fragment.c1841 DEFINE_CONFIG_PARSE_ENUM(config_parse_bus_policy_world, bus_policy_access, BusPolicyAccess, "Failed to parse bus name policy access");
1890 p->access = bus_policy_access_from_string(access_str);
1891 if (p->access < 0) {
1892 log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid busname policy access type '%s'", access_str);
1918 BusPolicyAccess access; local
1942 access = bus_policy_access_from_string(access_str);
1943 if (access <= _BUS_POLICY_ACCESS_INVALID ||
1944 access >= _BUS_POLICY_ACCESS_MAX) {
1945 log_syntax(unit, LOG_ERR, filename, line, 0, "Invalid endpoint policy access type '%s'", access_str);
1955 return bus_endpoint_add_policy(c->bus_endpoint, name, access);
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dkdbus.h214 * @KDBUS_POLICY_ACCESS_USER: Grant access to a uid
215 * @KDBUS_POLICY_ACCESS_GROUP: Grant access to gid
240 * struct kdbus_policy_access - policy access item
242 * @access: Access to grant
248 __u64 access; /* OWN, TALK, SEE */ member in struct:kdbus_policy_access
343 * @KDBUS_ITEM_POLICY_ACCESS: Policy access block
894 * restrictive policy and grant restricted access

Completed in 23 milliseconds