Searched refs:cap_idx (Results 1 – 1 of 1) sorted by relevance
105 static void drop_capset(int cap_idx) in drop_capset() argument110 caps.data[CAP_TO_INDEX(cap_idx)].inheritable &= ~CAP_TO_MASK(cap_idx); in drop_capset()115 static void drop_bounding_set(int cap_idx) in drop_bounding_set() argument119 ret = prctl(PR_CAPBSET_READ, cap_idx, 0, 0, 0); in drop_bounding_set()124 ret = prctl(PR_CAPBSET_DROP, cap_idx, 0, 0, 0); in drop_bounding_set()130 static void drop_usermodehelper(const char *filename, int cap_idx) in drop_usermodehelper() argument146 if (cap_idx < 32) in drop_usermodehelper()147 lo &= ~(1 << cap_idx); in drop_usermodehelper()149 hi &= ~(1 << (cap_idx - 32)); in drop_usermodehelper()162 unsigned cap_idx; in drop_capabilities() local[all …]