Home | History | Annotate | Download | only in tests

Lines Matching refs:Policy

4 import policy
43 usage +="plat_file_contexts -p policy [--test test] [--help]"
47 parser.add_option("-p", "--policy", dest="policy", metavar="FILE")
60 if not options.policy:
61 sys.exit("Must specify monolithic policy file\n" + parser.usage)
62 if not os.path.exists(options.policy):
63 sys.exit("Error: policy file " + options.policy + " does not exist\n"
73 pol = policy.Policy(options.policy, options.file_contexts, options.libpath)