Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/basic/
Dmeson.build22 'cap-list.c',
23 'cap-list.h',
284 generate_cap_list = find_program('generate-cap-list.sh')
286 'cap-list.txt',
287 output : 'cap-list.txt',
301 ['cap', cap_list_txt, 'capability', ''],
Dcapability-util.c21 _cleanup_cap_free_ cap_t cap = NULL; in have_effective_cap() local
24 cap = cap_get_proc(); in have_effective_cap()
25 if (!cap) in have_effective_cap()
28 if (cap_get_flag(cap, value, CAP_EFFECTIVE, &fv) < 0) in have_effective_cap()
Dvirt.c319 _cleanup_free_ char *cap = NULL; in detect_vm_xen_dom0() local
321 r = extract_first_word(&i, &cap, ",", 0); in detect_vm_xen_dom0()
329 if (streq(cap, "control_d")) { in detect_vm_xen_dom0()
/systemd-251/src/libsystemd/sd-bus/
Dbus-objects.c298 uint64_t cap; in check_access() local
316 cap = CAPABILITY_SHIFT(c->vtable->flags); in check_access()
317 if (cap == 0) in check_access()
318 cap = CAPABILITY_SHIFT(c->parent->vtable[0].flags); in check_access()
319 if (cap == 0) in check_access()
320 cap = CAP_SYS_ADMIN; in check_access()
322 cap--; in check_access()
324 r = sd_bus_query_sender_privilege(m, cap); in check_access()
/systemd-251/src/nspawn/
Dnspawn-oci.c295 int cap; in oci_capability_array() local
303 cap = capability_from_name(n); in oci_capability_array()
304 if (cap < 0) in oci_capability_array()
308 m |= UINT64_C(1) << cap; in oci_capability_array()
/systemd-251/src/test/
Dtest-load-fragment.c599 static uint64_t make_cap(int cap) { in make_cap() argument
600 return ((uint64_t) 1ULL << (uint64_t) cap); in make_cap()
Dmeson.build302 [files('test-cap-list.c') +
/systemd-251/
Dmeson.build997 libcap = cc.find_library('cap') build
DTODO843 keeping CAP_SYS_ADMIN, then apply seccomp, the drop cap.
/systemd-251/hwdb.d/
Dusb.ids23392 8988 V.cap Camera Device
D20-usb-vendor-model.hwdb70107 ID_MODEL_FROM_DATABASE=V.cap Camera Device