Searched refs:CAP_LAST_CAP (Results 1 – 10 of 10) sorted by relevance
29 #ifndef CAP_LAST_CAP30 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro33 #define cap_valid(x) ((x) <= CAP_LAST_CAP)
34 #ifndef CAP_LAST_CAP35 #define CAP_LAST_CAP CAP_AUDIT_CONTROL macro
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()
355 #define CAP_LAST_CAP CAP_AUDIT_READ macro357 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
346 #define CAP_LAST_CAP CAP_BLOCK_SUSPEND macro348 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
32 int rc, i, len, last = CAP_LAST_CAP; in main()82 #if CAP_LAST_CAP > 31 in main()
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()
106 CAP_LAST_CAP = _capng.CAP_LAST_CAP variable
11 last = capng.CAP_LAST_CAP
4 - Fix possible segfaults when CAP_LAST_CAP is larger than the lookup table