Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/services/
Dcredentials_unittest.cc176 SANDBOX_TEST(Credentials, SetCapabilities) { in SANDBOX_TEST() argument
188 CHECK(Credentials::SetCapabilities(proc_fd.get(), caps)); in SANDBOX_TEST()
194 CHECK(Credentials::SetCapabilities(proc_fd.get(), no_caps)); in SANDBOX_TEST()
210 CHECK(Credentials::SetCapabilities(proc_fd.get(), caps)); in SANDBOX_TEST()
226 CHECK(Credentials::SetCapabilities(proc_fd.get(), caps)); in SANDBOX_TEST()
Dcredentials.h47 static bool SetCapabilities(int proc_fd,
Dcredentials.cc157 if (!SetCapabilities(proc_fd, std::vector<Capability>())) { in DropAllCapabilities()
197 bool Credentials::SetCapabilities(int proc_fd, in SetCapabilities() function in sandbox::Credentials
/external/libbrillo/brillo/
Dprocess.h82 virtual void SetCapabilities(uint64_t capmask) = 0;
172 virtual void SetCapabilities(uint64_t capmask);
Dprocess_mock.h27 MOCK_METHOD1(SetCapabilities, void(uint64_t capmask));
Dprocess.cc103 void ProcessImpl::SetCapabilities(uint64_t /*capmask*/) { in SetCapabilities() function in brillo::ProcessImpl