Home | History | Annotate | Download | only in vold

Lines Matching refs:ftsent

1231         for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) {
1233 if (!strcmp(ftsent->fts_name, "lost+found")) {
1242 const bool privateFile = !strcmp(ftsent->fts_name, filename);
1244 int fd = open(ftsent->fts_accpath, O_NOFOLLOW | O_CLOEXEC);
1246 SLOGE("Couldn't open file %s: %s", ftsent->fts_accpath, strerror(errno));
1253 if (ftsent->fts_info & FTS_D) {
1255 } else if (ftsent->fts_info & FTS_F) {
1259 if (selinux_android_restorecon(ftsent->fts_path, 0) < 0) {
1260 SLOGE("restorecon failed for %s: %s\n", ftsent->fts_path, strerror(errno));