Searched defs:policy (Results 1 - 10 of 10) sorted by relevance
/systemd/src/bus-proxyd/ |
H A D | proxy.h | 24 #include "bus-xml-policy.h" 40 SharedPolicy *policy; member in struct:Proxy 61 int proxy_set_policy(Proxy *p, SharedPolicy *policy, char **configuration);
|
H A D | bus-proxyd.c | 36 #include "bus-xml-policy.h" 53 SharedPolicy *policy; member in struct:__anon47 101 r = proxy_set_policy(p, c->policy, arg_configuration); 156 c->policy = sp;
|
H A D | bus-xml-policy.h | 81 Policy *policy; member in struct:SharedPolicy 84 /* policy */ 137 /* shared policy */
|
H A D | driver.c | 566 Policy *policy; local 569 policy = shared_policy_acquire(sp); 570 denied = !policy_check_own(policy, ucred->uid, ucred->gid, name); 571 shared_policy_release(sp, policy);
|
H A D | proxy.c | 37 #include "bus-xml-policy.h" 308 Policy *policy; local 314 /* no need to load legacy policy if destination is not kdbus */ 318 p->policy = sp; 320 policy = shared_policy_acquire(sp); 321 if (policy) { 322 /* policy already pre-loaded */ 323 shared_policy_release(sp, policy); 349 return log_error("Unknown scope %s, don't know which policy to load. Refusing.", scope); 361 Policy *policy; local 450 process_policy_unlocked(sd_bus *from, sd_bus *to, sd_bus_message *m, Policy *policy, const struct ucred *our_ucred, Set *owned_names) argument 597 Policy *policy; local [all...] |
/systemd/src/core/ |
H A D | bus-policy.c | 24 #include "bus-policy.h" 46 assert_not_reached("Unknown policy access"); 50 int bus_kernel_translate_policy(const BusNamePolicy *policy, struct kdbus_item *item) { argument 53 assert(policy); 56 switch (policy->type) { 59 const char *user = policy->name; 72 const char *group = policy->name; 85 assert_not_reached("Unknown policy type"); 88 item->policy_access.access = bus_kernel_translate_access(policy->access); 98 BusNamePolicy *policy, 93 bus_kernel_make_starter( int fd, const char *name, bool activating, bool accept_fd, BusNamePolicy *policy, BusPolicyAccess world_policy) argument [all...] |
H A D | smack-setup.c | 76 _cleanup_fclose_ FILE *policy = NULL; local 89 policy = fdopen(fd, "re"); 90 if (!policy) { 99 FOREACH_LINE(buf, policy, 155 _cleanup_fclose_ FILE *policy = NULL; local 168 policy = fdopen(fd, "re"); 169 if (!policy) { 178 FOREACH_LINE(buf, policy, 226 _cleanup_fclose_ FILE *policy = NULL; local 236 policy [all...] |
H A D | dbus-cgroup.c | 544 const char *policy; local 547 r = sd_bus_message_read(message, "s", &policy); 551 p = cgroup_device_policy_from_string(policy); 561 buf = strjoina("DevicePolicy=", policy);
|
/systemd/src/network/ |
H A D | networkd-netdev-bond.c | 89 "Failed to parse bond transmit hash policy") 165 static uint8_t bond_xmit_hash_policy_to_kernel(BondXmitHashPolicy policy) { argument 166 switch (policy) {
|
/systemd/src/udev/net/ |
H A D | link-config.c | 408 NamePolicy *policy; local 410 for (policy = config->name_policy; 411 !new_name && *policy != _NAMEPOLICY_INVALID; policy++) { 412 switch (*policy) { 438 /* if not set by policy, fall back manually set name */ 506 "Failed to parse MAC address policy"); 520 "Failed to parse interface name policy");
|
Completed in 25 milliseconds