Home
last modified time | relevance | path

Searched refs:parse_policy (Results 1 – 2 of 2) sorted by relevance

/external/checkpolicy/
Dcheckpolicy.c554 policydb_t parse_policy; in main() local
556 if (policydb_init(&parse_policy)) in main()
559 parse_policy.policy_type = POLICY_BASE; in main()
560 policydb_set_target_platform(&parse_policy, target); in main()
563 parse_policy.mls = mlspol; in main()
564 parse_policy.handle_unknown = handle_unknown; in main()
566 policydbp = &parse_policy; in main()
580 if (link_modules(NULL, &parse_policy, NULL, 0, 0)) { in main()
585 if (expand_module(NULL, &parse_policy, &policydb, 0, 1)) { in main()
589 policydb_destroy(&parse_policy); in main()
/external/iptables/extensions/
Dlibxt_policy.c73 static int parse_policy(const char *s) in parse_policy() function
102 info->flags |= parse_policy(cb->arg); in policy_parse()