Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/kernel/
Dcapability.c371 if (unlikely(!cap_valid(cap))) { in ns_capable_common()
471 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.1.9/include/uapi/linux/
Dcapability.h422 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) macro
/linux-6.1.9/security/
Dcommoncap.c1248 if (!cap_valid(cap)) in cap_prctl_drop()
1281 if (!cap_valid(arg2)) in cap_task_prctl()
1366 if (((!cap_valid(arg3)) | arg4 | arg5)) in cap_task_prctl()