Lines Matching refs:Policy
19 // in a sub-process, under a seccomp-bpf policy specified in
24 // Policy interface.
72 // The |policy| parameter should be a Policy subclass.
76 // also be passed as an argument to the policy's constructor. Policies
80 // of the process running under the seccomp-bpf policy.
82 #define BPF_TEST(test_case_name, test_name, policy, aux) \
83 BPF_DEATH_TEST(test_case_name, test_name, DEATH_SUCCESS(), policy, aux)
88 #define BPF_DEATH_TEST(test_case_name, test_name, death, policy, aux) \
92 new sandbox::BPFTesterCompatibilityDelegate<policy, aux>( \
109 std::unique_ptr<bpf_dsl::Policy> GetSandboxBPFPolicy() override {
110 return std::unique_ptr<bpf_dsl::Policy>(new PolicyClass());