Lines Matching full:rule
17 policy.rules["allow"] = Rule(POLICY_ALLOW);
18 policy.rules["deny_error"] = Rule(POLICY_DENY_ERROR);
19 policy.rules["deny_dummy"] = Rule(POLICY_DENY_DUMMY_PORT);
20 policy.rules["substitue"] = Rule(mach_task_self());
25 Rule rule;
27 policy.rules["test"] = rule;
32 Rule rule(POLICY_SUBSTITUTE_PORT);
34 policy.rules["test"] = rule;
39 Rule rule(POLICY_ALLOW);
40 rule.substitute_port = mach_task_self();
42 policy.rules["allow"] = rule;
47 Rule rule(POLICY_DENY_ERROR);
48 rule.substitute_port = mach_task_self();
50 policy.rules["deny_error"] = rule;
55 Rule rule(POLICY_DENY_DUMMY_PORT);
56 rule.substitute_port = mach_task_self();
58 policy.rules["deny_dummy"] = rule;
64 policy.default_rule = Rule();
70 policy.default_rule = Rule(POLICY_SUBSTITUTE_PORT);
75 Rule rule(POLICY_ALLOW);
76 rule.substitute_port = mach_task_self();
78 policy.default_rule = rule;
83 Rule rule(POLICY_DENY_ERROR);
84 rule.substitute_port = mach_task_self();
86 policy.default_rule = rule;
91 Rule rule(POLICY_DENY_DUMMY_PORT);
92 rule.substitute_port = mach_task_self();
94 policy.default_rule = rule;