/external/ltp/testcases/kernel/security/cap_bound/ |
H A D | cap_bounds_r.c | 47 int cap_last_cap = CAP_LAST_CAP; 51 if (cap_last_cap > CAP_LAST_CAP) 52 cap_last_cap = CAP_LAST_CAP; 83 /* Ideally I'd check CAP_LAST_CAP+1, but userspace 84 * tends to be far too unreliable to trust CAP_LAST_CAP> 90 ret = prctl(PR_CAPBSET_READ, max(INSANE, CAP_LAST_CAP + 1)); 97 CAP_LAST_CAP + 1, ret); 98 tst_resm(TINFO, " %d is CAP_LAST_CAP+1 and should not exist\n", 99 CAP_LAST_CAP + 1);
|
H A D | cap_bounds_rw.c | 96 cap_last_cap = CAP_LAST_CAP; 99 if (cap_last_cap > CAP_LAST_CAP) 100 cap_last_cap = CAP_LAST_CAP; 113 /* Ideally I'd check CAP_LAST_CAP+1, but userspace 114 * tends to be far too unreliable to trust CAP_LAST_CAP> 120 ret = prctl(PR_CAPBSET_DROP, max(INSANE, CAP_LAST_CAP + 1)); 127 max(INSANE, CAP_LAST_CAP + 1), ret); 129 max(INSANE, CAP_LAST_CAP + 1));
|
/external/libcap-ng/libcap-ng-0.7/src/ |
H A 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)
|
H A D | cap-ng.h | 34 #ifndef CAP_LAST_CAP 35 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro
|
H A 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++) 898 for (i=0; i<=CAP_LAST_CAP; i++) { 912 ptr = malloc(CAP_LAST_CAP*18);
|
/external/libcap/libcap/include/uapi/linux/ |
H A D | capability.h | 355 #define CAP_LAST_CAP CAP_AUDIT_READ macro 357 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
|
/external/kernel-headers/original/uapi/linux/ |
H A D | capability.h | 370 #define CAP_LAST_CAP CAP_AUDIT_READ macro 372 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
H A D | lib_test.c | 32 int rc, i, len, last = CAP_LAST_CAP; 82 #if CAP_LAST_CAP > 31
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
H A D | filecap.c | 87 #if CAP_LAST_CAP < 31 || !defined (VFS_CAP_U32) || !defined (HAVE_ATTR_XATTR_H) 102 for (i=0; i<=CAP_LAST_CAP; i++) {
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/ |
H A D | capng-test.py | 11 last = capng.CAP_LAST_CAP
|
/external/ltp/testcases/kernel/security/securebits/ |
H A D | check_keepcaps.c | 39 for (i = 0; i < CAP_LAST_CAP; i++) { 42 * If the value of CAP_LAST_CAP in linux/capability.h is greater
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/ |
H A D | capng.py | 106 CAP_LAST_CAP = _capng.CAP_LAST_CAP variable
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 113 for (i = 0; i < CAP_LAST_CAP; i++)
|
/external/robolectric/v3/runtime/ |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |