Searched refs:SeccompLevel (Results 1 – 2 of 2) sorted by relevance
131 bool SandboxBPF::SupportsSeccompSandbox(SeccompLevel level) { in SupportsSeccompSandbox()139 case SeccompLevel::SINGLE_THREADED: in SupportsSeccompSandbox()141 case SeccompLevel::MULTI_THREADED: in SupportsSeccompSandbox()148 bool SandboxBPF::StartSandbox(SeccompLevel seccomp_level) { in StartSandbox()150 CHECK(seccomp_level == SeccompLevel::SINGLE_THREADED || in StartSandbox()151 seccomp_level == SeccompLevel::MULTI_THREADED); in StartSandbox()166 if (seccomp_level == SeccompLevel::SINGLE_THREADED) { in StartSandbox()170 } else if (seccomp_level == SeccompLevel::MULTI_THREADED) { in StartSandbox()192 seccomp_level == SeccompLevel::MULTI_THREADED); in StartSandbox()
29 enum class SeccompLevel { enum44 static bool SupportsSeccompSandbox(SeccompLevel level);66 bool StartSandbox(SeccompLevel level) WARN_UNUSED_RESULT;