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

/linux-4.4.14/drivers/memory/
H A Dfsl-corenet-cf.c113 bool cap_valid = false; ccf_irq() local
133 cap_valid = true; ccf_irq()
141 cap_valid = true; ccf_irq()
166 if (cap_valid) { ccf_irq()
/linux-4.4.14/kernel/
H A Dcapability.c377 if (unlikely(!cap_valid(cap))) { ns_capable()
423 if (WARN_ON_ONCE(!cap_valid(cap))) file_ns_capable()
H A Duser_namespace.c638 if (cap_valid(cap_setid) && !file_ns_capable(file, ns, CAP_SYS_ADMIN)) map_write()
840 if (!cap_valid(cap_setid)) new_idmap_permitted()
/linux-4.4.14/include/uapi/linux/
H A Dcapability.h357 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP) macro
/linux-4.4.14/security/
H A Dcommoncap.c875 if (!cap_valid(cap)) cap_prctl_drop()
905 if (!cap_valid(arg2)) cap_task_prctl()
989 if (((!cap_valid(arg3)) | arg4 | arg5)) cap_task_prctl()

Completed in 327 milliseconds