Home | History | Annotate | Download | only in seccomp-bpf

Lines Matching refs:Policy

17 // in a sub-process, under a seccomp-bpf policy specified in
22 // Policy interface.
70 // The |policy| parameter should be a Policy subclass.
74 // also be passed as an argument to the policy's constructor. Policies
78 // of the process running under the seccomp-bpf policy.
80 #define BPF_TEST(test_case_name, test_name, policy, aux) \
81 BPF_DEATH_TEST(test_case_name, test_name, DEATH_SUCCESS(), policy, aux)
86 #define BPF_DEATH_TEST(test_case_name, test_name, death, policy, aux) \
90 new sandbox::BPFTesterCompatibilityDelegate<policy, aux>( \
107 scoped_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
108 return scoped_ptr<bpf_dsl::Policy>(new PolicyClass());