Searched defs:class (Results 1 - 1 of 1) sorted by relevance

/system/sepolicy/tools/
H A Dsepolicy-check.c18 fprintf(stderr, "%s -s <source> -t <target> -c <class> -p <perm> -P <policy file>\n", arg0);
147 fprintf(stderr, "class %s does not exist\n", c);
155 fprintf(stderr, "perm %s does not exist in class %s\n", p, c);
160 fprintf(stderr, "perm %s does not exist in class %s\n", p, c);
235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; local
245 {"class", required_argument, NULL, 'c'},
260 class = optarg;
273 if (!source || !target || !class || !perm || !policy)
282 match = check_rule(source, target, class, perm, &policydb);

Completed in 77 milliseconds