Lines Matching refs:proc_fd
163 base::ScopedFD proc_fd(ProcUtil::OpenProc()); in SANDBOX_TEST() local
164 CHECK(Credentials::DropAllCapabilities(proc_fd.get())); in SANDBOX_TEST()
167 CHECK(Credentials::DropFileSystemAccess(proc_fd.get())); in SANDBOX_TEST()
168 CHECK(Credentials::DropAllCapabilities(proc_fd.get())); in SANDBOX_TEST()
181 base::ScopedFD proc_fd(ProcUtil::OpenProc()); in SANDBOX_TEST() local
188 CHECK(Credentials::SetCapabilities(proc_fd.get(), caps)); in SANDBOX_TEST()
194 CHECK(Credentials::SetCapabilities(proc_fd.get(), no_caps)); in SANDBOX_TEST()
203 base::ScopedFD proc_fd(ProcUtil::OpenProc()); in SANDBOX_TEST() local
210 CHECK(Credentials::SetCapabilities(proc_fd.get(), caps)); in SANDBOX_TEST()
222 base::ScopedFD proc_fd(ProcUtil::OpenProc()); in SANDBOX_TEST() local
226 CHECK(Credentials::SetCapabilities(proc_fd.get(), caps)); in SANDBOX_TEST()