HomeSort by relevance Sort by last modified time
    Searched refs:SeccompLevel (Results 1 - 2 of 2) sorted by null

  /external/libchrome/sandbox/linux/seccomp-bpf/
sandbox_bpf.h 28 enum class SeccompLevel {
43 static bool SupportsSeccompSandbox(SeccompLevel level);
65 bool StartSandbox(SeccompLevel level) WARN_UNUSED_RESULT;
sandbox_bpf.cc 132 bool SandboxBPF::SupportsSeccompSandbox(SeccompLevel level) {
140 case SeccompLevel::SINGLE_THREADED:
142 case SeccompLevel::MULTI_THREADED:
149 bool SandboxBPF::StartSandbox(SeccompLevel seccomp_level) {
151 CHECK(seccomp_level == SeccompLevel::SINGLE_THREADED ||
152 seccomp_level == SeccompLevel::MULTI_THREADED);
167 if (seccomp_level == SeccompLevel::SINGLE_THREADED) {
171 } else if (seccomp_level == SeccompLevel::MULTI_THREADED) {
193 seccomp_level == SeccompLevel::MULTI_THREADED);

Completed in 42 milliseconds