Lines Matching defs:path
2 * path from the file contexts configuration.
9 static int print_matchpathcon(char *path, int noprint)
12 int rc = matchpathcon(path, 0, &buf);
14 bb_perror_msg("matchpathcon(%s) failed", path);
18 printf("%s\t%s\n", path, buf);
37 char *fcontext, *prefix, *path;
56 while ((path = *argv++) != NULL) {
61 error += print_matchpathcon(path, opts & OPT_NOT_PRINT);
65 if (selinux_file_context_verify(path, 0)) {
66 printf("%s verified\n", path);
71 rc = lgetfilecon_raw(path, &con);
73 rc = lgetfilecon(path, &con);
76 printf("%s has context %s, should be ", path, con);
77 error += print_matchpathcon(path, 1);
82 error += print_matchpathcon(path, 1);