Searched refs:SeccompLevel (Results 1 – 2 of 2) sorted by relevance
132 bool SandboxBPF::SupportsSeccompSandbox(SeccompLevel level) { in SupportsSeccompSandbox()140 case SeccompLevel::SINGLE_THREADED: in SupportsSeccompSandbox()142 case SeccompLevel::MULTI_THREADED: in SupportsSeccompSandbox()149 bool SandboxBPF::StartSandbox(SeccompLevel seccomp_level) { in StartSandbox()151 CHECK(seccomp_level == SeccompLevel::SINGLE_THREADED || in StartSandbox()152 seccomp_level == SeccompLevel::MULTI_THREADED); in StartSandbox()167 if (seccomp_level == SeccompLevel::SINGLE_THREADED) { in StartSandbox()171 } else if (seccomp_level == SeccompLevel::MULTI_THREADED) { in StartSandbox()193 seccomp_level == SeccompLevel::MULTI_THREADED); in StartSandbox()
28 enum class SeccompLevel { enum43 static bool SupportsSeccompSandbox(SeccompLevel level);65 bool StartSandbox(SeccompLevel level) WARN_UNUSED_RESULT;