Lines Matching refs:Credentials
141 int CapabilityToKernelValue(Credentials::Capability cap) { in CapabilityToKernelValue()
143 case Credentials::Capability::SYS_CHROOT: in CapabilityToKernelValue()
145 case Credentials::Capability::SYS_ADMIN: in CapabilityToKernelValue()
156 bool Credentials::DropAllCapabilities(int proc_fd) { in DropAllCapabilities()
166 bool Credentials::DropAllCapabilities() { in DropAllCapabilities()
168 return Credentials::DropAllCapabilities(proc_fd.get()); in DropAllCapabilities()
172 bool Credentials::DropAllCapabilitiesOnCurrentThread() { in DropAllCapabilitiesOnCurrentThread()
177 bool Credentials::SetCapabilitiesOnCurrentThread( in SetCapabilitiesOnCurrentThread()
197 bool Credentials::SetCapabilities(int proc_fd, in SetCapabilities()
210 bool Credentials::HasAnyCapability() { in HasAnyCapability()
226 bool Credentials::HasCapability(Capability cap) { in HasCapability()
243 bool Credentials::CanCreateProcessInNewUserNS() { in CanCreateProcessInNewUserNS()
281 bool Credentials::MoveToNewUserNS() { in MoveToNewUserNS()
314 bool Credentials::DropFileSystemAccess(int proc_fd) { in DropFileSystemAccess()
324 pid_t Credentials::ForkAndDropCapabilitiesInChild() { in ForkAndDropCapabilitiesInChild()