#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
#include <fcntl.h>
#include <unistd.h>
#include <iostream>
#include <utility>
#include "base/files/scoped_file.h"
#include "base/posix/eintr_wrapper.h"
#include "sandbox/linux/tests/unit_tests.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace sandbox {
namespace {
TEST(SandboxBPF, CreateDestroy) { … }
TEST(SandboxBPF, DISABLE_ON_TSAN(CallSupports)) { … }
SANDBOX_TEST(SandboxBPF, DISABLE_ON_TSAN(CallSupportsTwice)) { … }
TEST(SandboxBPF, ProcTaskFdDescriptorGetsClosed) { … }
}
}