Home
last modified time | relevance | path

Searched refs:expected_cap (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dcredentials_unittest.cc231 ScopedCap expected_cap(cap_init()); in SANDBOX_TEST() local
232 PCHECK(expected_cap != nullptr); in SANDBOX_TEST()
236 PCHECK(cap_set_flag(expected_cap.get(), flag, 1, &allowed_cap, CAP_SET) == in SANDBOX_TEST()
240 CHECK_EQ(0, cap_compare(expected_cap.get(), actual_cap.get())); in SANDBOX_TEST()