Home
last modified time | relevance | path

Searched refs:BaselinePolicy (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy_unittest.cc72 BPF_TEST_C(BaselinePolicy, BaselinePolicyBasicAllowed, BaselinePolicy) { in BPF_TEST_C() argument
84 BPF_TEST_C(BaselinePolicy, FchmodErrno, BaselinePolicy) { in BPF_TEST_C() argument
91 BPF_TEST_C(BaselinePolicy, ForkErrno, BaselinePolicy) { in BPF_TEST_C() argument
107 BPF_TEST_C(BaselinePolicy, ForkX86Eperm, BaselinePolicy) { in BPF_TEST_C() argument
123 BPF_TEST_C(BaselinePolicy, ForkArmEperm, BaselinePolicy) { in BPF_TEST_C() argument
133 BPF_TEST_C(BaselinePolicy, CreateThread, BaselinePolicy) { in BPF_TEST_C() argument
138 BPF_DEATH_TEST_C(BaselinePolicy, in BPF_DEATH_TEST_C() argument
141 BaselinePolicy) { in BPF_DEATH_TEST_C()
146 BPF_DEATH_TEST_C(BaselinePolicy, in BPF_DEATH_TEST_C() argument
149 BaselinePolicy) { in BPF_DEATH_TEST_C()
[all …]
Dbaseline_policy.h28 class SANDBOX_EXPORT BaselinePolicy : public bpf_dsl::Policy {
30 BaselinePolicy();
33 explicit BaselinePolicy(int fs_denied_errno);
34 ~BaselinePolicy() override;
46 DISALLOW_COPY_AND_ASSIGN(BaselinePolicy);
Dbaseline_policy.cc258 BaselinePolicy::BaselinePolicy() : BaselinePolicy(EPERM) {} in BaselinePolicy() function in sandbox::BaselinePolicy
260 BaselinePolicy::BaselinePolicy(int fs_denied_errno) in BaselinePolicy() function in sandbox::BaselinePolicy
264 BaselinePolicy::~BaselinePolicy() { in ~BaselinePolicy()
270 ResultExpr BaselinePolicy::EvaluateSyscall(int sysno) const { in EvaluateSyscall()
280 ResultExpr BaselinePolicy::InvalidSyscall() const { in InvalidSyscall()