Home
last modified time | relevance | path

Searched refs:cap_val (Results 1 – 3 of 3) sorted by relevance

/linux/tools/perf/util/
H A Dcap.c22 __u32 cap_val; in perf_cap__capable() local
39 cap_val = data[1].effective; in perf_cap__capable()
45 cap_val = data[0].effective; in perf_cap__capable()
47 return (cap_val & (1 << (cap & 0x1f))) != 0; in perf_cap__capable()
/linux/tools/testing/selftests/tty/
H A Dtty_tiocsti_test.c308 cap_flag_value_t cap_val; in has_cap_sys_admin() local
310 &cap_val) == 0) && in has_cap_sys_admin()
311 (cap_val == CAP_SET); in has_cap_sys_admin()
/linux/tools/testing/selftests/namespaces/
H A Dlistns_permissions_test.c665 cap_flag_value_t cap_val; in TEST() local
666 if (cap_get_flag(caps, CAP_SYS_ADMIN, CAP_EFFECTIVE, &cap_val) < 0) { in TEST()
671 if (cap_val != CAP_SET) { in TEST()