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