Searched refs:SetCapabilities (Results 1 – 6 of 6) sorted by relevance
176 SANDBOX_TEST(Credentials, SetCapabilities) { in SANDBOX_TEST() argument188 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()
47 static bool SetCapabilities(int proc_fd,
157 if (!SetCapabilities(proc_fd, std::vector<Capability>())) { in DropAllCapabilities()197 bool Credentials::SetCapabilities(int proc_fd, in SetCapabilities() function in sandbox::Credentials
82 virtual void SetCapabilities(uint64_t capmask) = 0;172 virtual void SetCapabilities(uint64_t capmask);
27 MOCK_METHOD1(SetCapabilities, void(uint64_t capmask));
103 void ProcessImpl::SetCapabilities(uint64_t /*capmask*/) { in SetCapabilities() function in brillo::ProcessImpl