Searched refs:NUMBER_OF_CAP_SETS (Results 1 – 3 of 3) sorted by relevance
30 __u8 bytes[CAP_SET_SIZE][NUMBER_OF_CAP_SETS];49 for (i=0; i<NUMBER_OF_CAP_SETS; ++i) { in cap_size()70 return (ssize_t)(CAP_EXT_MAGIC_SIZE + 1+ NUMBER_OF_CAP_SETS * used); in cap_size()98 len_set = (csz - (CAP_EXT_MAGIC_SIZE+1))/NUMBER_OF_CAP_SETS; in cap_copy_ext()104 for (i=0; i<NUMBER_OF_CAP_SETS; ++i) { in cap_copy_ext()154 for (set=0; set<NUMBER_OF_CAP_SETS; ++set) { in cap_copy_int()192 if (length < 1+CAP_EXT_MAGIC_SIZE + export->length_of_capset * NUMBER_OF_CAP_SETS) { in cap_copy_int_check()
110 #define NUMBER_OF_CAP_SETS 3 /* effective, inheritable, permitted */ macro119 __u32 flat[NUMBER_OF_CAP_SETS];
27 && set >= 0 && set < NUMBER_OF_CAP_SETS) { in cap_get_flag()51 && (set >= 0) && (set < NUMBER_OF_CAP_SETS) in cap_set_flag()