Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/capabilities/
Dvalidate_cap.c24 static bool bool_arg(char **argv, int i) in bool_arg() function
57 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 1)) { in main()
62 if (capng_have_capability(CAPNG_PERMITTED, CAP_NET_BIND_SERVICE) != bool_arg(argv, 2)) { in main()
67 if (capng_have_capability(CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 3)) { in main()
72 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, … in main()