Lines Matching defs:mode
21 static int printmatchpathcon(struct selabel_handle *hnd, const char *path, int header, int mode, int notrans)
27 rc = selabel_lookup_raw(hnd, &buf, path, mode);
29 rc = selabel_lookup(hnd, &buf, path, mode);
94 fprintf(stderr, "%s: mode %s is invalid\n", argv[0], optarg);
139 int rc, mode = 0;
147 mode = buf.st_mode;
149 mode = force_mode;
152 rc = selinux_file_context_verify(path, mode);
177 printmatchpathcon(hnd, path, 0, mode, notrans);
183 printmatchpathcon(hnd, path, 0, mode, notrans);
187 error |= printmatchpathcon(hnd, path, header, mode, notrans);