Lines Matching defs:mode
438 static int matchpathcon_internal(const char *path, mode_t mode, char ** con)
445 if (S_ISLNK(mode)) {
455 selabel_lookup_raw(hnd, con, path, mode) :
456 selabel_lookup(hnd, con, path, mode);
459 int matchpathcon(const char *path, mode_t mode, char ** con) {
460 return matchpathcon_internal(path, mode, con);
463 int matchpathcon_index(const char *name, mode_t mode, char ** con)
465 int i = matchpathcon_internal(name, mode, con);
501 int selinux_file_context_verify(const char *path, mode_t mode)
509 if (S_ISLNK(mode)) {
529 if (selabel_lookup_raw(hnd, &fcontext, path, mode) != 0) {