/systemd/src/test/ |
H A D | test-capability.c | 159 uint64_t set = 0; local 167 set = (UINT64_C(1) << CAP_CHOWN); 169 assert_se(!capability_update_inherited_set(caps, set)); 178 uint64_t set = 0; local 189 set = (UINT64_C(1) << CAP_CHOWN); 191 assert_se(!capability_ambient_set_apply(set, true));
|
/systemd/src/shared/ |
H A D | bus-util.h | 50 bus_property_set_t set; member in struct:bus_properties_map
|
/systemd/src/systemd/ |
H A D | sd-bus-vtable.h | 79 sd_bus_property_set_t set; member in struct:sd_bus_vtable::__anon284::__anon288 130 .x.property.set = _set, \
|
/systemd/src/basic/ |
H A D | capability-util.c | 97 int capability_update_inherited_set(cap_t caps, uint64_t set) { argument 100 /* Add capabilities in the set to the inherited caps. Do not apply 105 if (set & (UINT64_C(1) << i)) { 119 int capability_ambient_set_apply(uint64_t set, bool also_inherit) { argument 123 /* Add the capabilities to the ambient set. */ 131 r = capability_update_inherited_set(caps, set); 141 if (set & (UINT64_C(1) << i)) { 143 /* Add the capability to the ambient set. */ 159 * in the effective set (yes, the kernel drops that when 196 /* Drop it from the bounding set */ [all...] |
H A D | locale-util.c | 38 #include "set.h" 226 const char *set; local 240 set = nl_langinfo(CODESET); 241 if (!set) { 246 if (streq(set, "UTF-8")) { 253 set = setlocale(LC_CTYPE, NULL); 254 if (!set) { 259 /* Check result, but ignore the result if C was set 262 STR_IN_SET(set, "C", "POSIX") &&
|
/systemd/src/core/ |
H A D | device.c | 253 log_unit_error_errno(u, r, "Failed to set device description: %m"); 370 log_unit_warning_errno(u, r, "Failed to set up device unit: %m"); 561 Set *set; local 572 set = set_new(NULL); 573 if (!set) 577 r = set_put(set, other); 583 r = set_put(set, other); 588 *_set = set; 592 set_free(set); 757 /* The device is found now, set th [all...] |
H A D | swap.c | 249 log_unit_error(UNIT(s), "Unit has PAM enabled. Kill mode must be set to 'control-group'. Refusing to load."); 1237 Set *set; local 1248 set = set_new(NULL); 1249 if (!set) 1253 r = set_put(set, other); 1258 *_set = set; 1262 set_free(set);
|
H A D | load-fragment.c | 42 #include "cpu-set-util.h" 1084 log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse capability in bounding/ambient set, ignoring: %s", word); 3286 Set **set; local 3300 set = &status_set->signal; 3306 set = &status_set->status; 3309 r = set_ensure_allocated(set, NULL); 3313 r = set_put(*set, INT_TO_PTR(val)); 3663 * name set while doing so */
|
/systemd/src/coredump/ |
H A D | coredumpctl.c | 40 #include "set.h" 63 Set *set; local 67 set = set_new(NULL); 68 if (!set) { 76 set_free(set); 80 r = set_consume(set, tmp); 82 log_error_errno(r, "failed to add to set: %m"); 83 set_free(set); 87 return set; 90 static int add_match(Set *set, cons argument [all...] |
/systemd/src/libsystemd/sd-device/ |
H A D | device-enumerator.c | 29 #include "set.h" 112 Set **set; local 119 set = &enumerator->match_subsystem; 121 set = &enumerator->nomatch_subsystem; 123 r = set_ensure_allocated(set, NULL); 127 r = set_put_strdup(*set, subsystem);
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 71 #include "set.h" 589 static void message_set_freep(Set **set) { argument 592 while ((m = set_steal_first(*set))) 595 set_free(*set); 781 /* The strv above is shared. free is set only in the first one. */ 2003 return log_error_errno(r, "Failed to set default target: %m"); 2031 return log_error_errno(r, "Failed to set default target: %s", bus_error_message(&error, r)); 2620 log_debug("Adding %s to the set", path); 2825 return log_warning_errno(r, "Failed to set wall message, ignoring: %s", bus_error_message(&error, r)); 3114 * have been set previousl [all...] |