Home | History | Annotate | Download | only in src

Lines Matching full:ftsent

1287     FTSENT *ftsent;
1380 while ((ftsent = fts_read(fts)) != NULL) {
1381 switch (ftsent->fts_info) {
1384 "SELinux: Directory cycle on %s.\n", ftsent->fts_path);
1392 "SELinux: Could not read %s: %s.\n", ftsent->fts_path, strerror(errno));
1393 fts_set(fts, ftsent, FTS_SKIP);
1397 "SELinux: Could not stat %s: %s.\n", ftsent->fts_path, strerror(errno));
1398 fts_set(fts, ftsent, FTS_SKIP);
1402 "SELinux: Error on %s: %s.\n", ftsent->fts_path, strerror(errno));
1403 fts_set(fts, ftsent, FTS_SKIP);
1406 if (issys && !selabel_partial_match(fc_sehandle, ftsent->fts_path)) {
1407 fts_set(fts, ftsent, FTS_SKIP);
1412 (!strcmp(ftsent->fts_path, DATA_DATA_PATH) ||
1413 !strncmp(ftsent->fts_path, DATA_USER_PREFIX, sizeof(DATA_USER_PREFIX)-1) ||
1414 !strncmp(ftsent->fts_path, DATA_USER_DE_PREFIX, sizeof(DATA_USER_DE_PREFIX)-1) ||
1415 !fnmatch(EXPAND_USER_PATH, ftsent->fts_path, FNM_LEADING_DIR|FNM_PATHNAME) ||
1416 !fnmatch(EXPAND_USER_DE_PATH, ftsent->fts_path, FNM_LEADING_DIR|FNM_PATHNAME))) {
1418 fts_set(fts, ftsent, FTS_SKIP);
1423 error |= restorecon_sb(ftsent->fts_path, ftsent->fts_statp, nochange, verbose, seinfo, uid);