Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/security/cap_bound/
Dcap_bounds_r.c47 int cap_last_cap = CAP_LAST_CAP; in main()
51 if (cap_last_cap > CAP_LAST_CAP) in main()
52 cap_last_cap = CAP_LAST_CAP; in main()
90 ret = prctl(PR_CAPBSET_READ, max(INSANE, CAP_LAST_CAP + 1)); in main()
97 CAP_LAST_CAP + 1, ret); in main()
99 CAP_LAST_CAP + 1); in main()
Dcap_bounds_rw.c96 cap_last_cap = CAP_LAST_CAP; in main()
99 if (cap_last_cap > CAP_LAST_CAP) in main()
100 cap_last_cap = CAP_LAST_CAP; in main()
120 ret = prctl(PR_CAPBSET_DROP, max(INSANE, CAP_LAST_CAP + 1)); in main()
127 max(INSANE, CAP_LAST_CAP + 1), ret); in main()
129 max(INSANE, CAP_LAST_CAP + 1)); in main()
/external/libcap-ng/libcap-ng-0.7/src/
Dlookup_table.c29 #ifndef CAP_LAST_CAP
30 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro
33 #define cap_valid(x) ((x) <= CAP_LAST_CAP)
Dcap-ng.h34 #ifndef CAP_LAST_CAP
35 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro
Dcap-ng.c57 #define UPPER_MASK ~(unsigned)((~0U)<<(CAP_LAST_CAP-31))
65 #define cap_valid(x) ((x) <= CAP_LAST_CAP)
481 for (i=0; i <= CAP_LAST_CAP && rc == 0; i++) in capng_apply()
898 for (i=0; i<=CAP_LAST_CAP; i++) { in capng_print_caps_text()
912 ptr = malloc(CAP_LAST_CAP*18); in capng_print_caps_text()
/external/kernel-headers/original/uapi/linux/
Dcapability.h353 #define CAP_LAST_CAP CAP_AUDIT_READ macro
355 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
/external/libcap/libcap/include/uapi/linux/
Dcapability.h355 #define CAP_LAST_CAP CAP_AUDIT_READ macro
357 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
/external/libcap-ng/libcap-ng-0.7/src/test/
Dlib_test.c32 int rc, i, len, last = CAP_LAST_CAP; in main()
82 #if CAP_LAST_CAP > 31 in main()
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c87 #if CAP_LAST_CAP < 31 || !defined (VFS_CAP_U32) || !defined (HAVE_ATTR_XATTR_H) in main()
102 for (i=0; i<=CAP_LAST_CAP; i++) { in main()
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py106 CAP_LAST_CAP = _capng.CAP_LAST_CAP variable
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/
Dcapng-test.py11 last = capng.CAP_LAST_CAP
/external/ltp/testcases/kernel/security/securebits/
Dcheck_keepcaps.c39 for (i = 0; i < CAP_LAST_CAP; i++) { in eff_caps_empty()
/external/libcap-ng/libcap-ng-0.7/
DChangeLog4 - Fix possible segfaults when CAP_LAST_CAP is larger than the lookup table
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c106 for (i = 0; i < CAP_LAST_CAP; i++) in create_and_enter_ns()