Searched refs:CAP_LAST_CAP (Results 1 – 14 of 14) sorted by relevance
/external/ltp/testcases/kernel/security/cap_bound/ |
D | cap_bounds_r.c | 47 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()
|
D | cap_bounds_rw.c | 96 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/ |
D | lookup_table.c | 29 #ifndef CAP_LAST_CAP 30 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro 33 #define cap_valid(x) ((x) <= CAP_LAST_CAP)
|
D | cap-ng.h | 34 #ifndef CAP_LAST_CAP 35 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro
|
D | cap-ng.c | 57 #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/ |
D | capability.h | 353 #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/ |
D | capability.h | 355 #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/ |
D | lib_test.c | 32 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/ |
D | filecap.c | 87 #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/ |
D | capng.py | 106 CAP_LAST_CAP = _capng.CAP_LAST_CAP variable
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/ |
D | capng-test.py | 11 last = capng.CAP_LAST_CAP
|
/external/ltp/testcases/kernel/security/securebits/ |
D | check_keepcaps.c | 39 for (i = 0; i < CAP_LAST_CAP; i++) { in eff_caps_empty()
|
/external/libcap-ng/libcap-ng-0.7/ |
D | ChangeLog | 4 - Fix possible segfaults when CAP_LAST_CAP is larger than the lookup table
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
D | test_execve.c | 106 for (i = 0; i < CAP_LAST_CAP; i++) in create_and_enter_ns()
|