Searched refs:CAP_LAST_CAP (Results 1 - 16 of 16) sorted by relevance

/external/ltp/testcases/kernel/security/cap_bound/
H A Dcap_bounds_r.c47 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 Dcap_bounds_rw.c96 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 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)
H A Dcap-ng.h34 #ifndef CAP_LAST_CAP
35 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro
H A 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++)
898 for (i=0; i<=CAP_LAST_CAP; i++) {
912 ptr = malloc(CAP_LAST_CAP*18);
/external/libcap/libcap/include/uapi/linux/
H A Dcapability.h355 #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 Dcapability.h370 #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 Dlib_test.c32 int rc, i, len, last = CAP_LAST_CAP;
82 #if CAP_LAST_CAP > 31
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dfilecap.c87 #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 Dcapng-test.py11 last = capng.CAP_LAST_CAP
/external/ltp/testcases/kernel/security/securebits/
H A Dcheck_keepcaps.c39 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 Dcapng.py106 CAP_LAST_CAP = _capng.CAP_LAST_CAP variable
/external/linux-kselftest/tools/testing/selftests/capabilities/
H A Dtest_execve.c113 for (i = 0; i < CAP_LAST_CAP; i++)
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 222 milliseconds