CAP_TO_INDEX 396 include/linux/capability.h #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) CAP_TO_INDEX 397 include/linux/capability.h #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) CAP_TO_INDEX 398 include/linux/capability.h #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) CAP_TO_INDEX 469 include/linux/capability.h return !!(CAP_TO_MASK(cap) & __cap_fs_set.cap[CAP_TO_INDEX(cap)]); CAP_TO_INDEX 1380 security/selinux/hooks.c switch (CAP_TO_INDEX(cap)) {