Searched refs:old_caps (Results 1 – 1 of 1) sorted by relevance
1199 __user_cap_data_struct old_caps[_LINUX_CAPABILITY_U32S_3]; in TEST() local1200 ASSERT_EQ(0, capget(&header, &old_caps[0])); in TEST()1204 bool has_admin = old_caps[admin_idx].effective & admin_mask; in TEST()1207 memcpy(new_caps, old_caps, sizeof(new_caps)); in TEST()1218 ASSERT_EQ(0, capset(&header, &old_caps[0])) << "failed to restore admin privileges"; in TEST()