Home
last modified time | relevance | path

Searched refs:cap_valid (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/memory/
Dfsl-corenet-cf.c109 bool cap_valid = false; in ccf_irq() local
129 cap_valid = true; in ccf_irq()
137 cap_valid = true; in ccf_irq()
162 if (cap_valid) { in ccf_irq()
/linux-6.6.21/kernel/
Dcapability.c357 if (unlikely(!cap_valid(cap))) { in ns_capable_common()
457 if (WARN_ON_ONCE(!cap_valid(cap))) in file_ns_capable()
Duser_namespace.c974 if (cap_valid(cap_setid) && !file_ns_capable(file, map_ns, CAP_SYS_ADMIN)) in map_write()
1188 if (!cap_valid(cap_setid)) in new_idmap_permitted()
/linux-6.6.21/include/uapi/linux/
Dcapability.h423 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) macro
/linux-6.6.21/security/
Dcommoncap.c1240 if (!cap_valid(cap)) in cap_prctl_drop()
1273 if (!cap_valid(arg2)) in cap_task_prctl()
1358 if (((!cap_valid(arg3)) | arg4 | arg5)) in cap_task_prctl()