Searched refs:ftsent (Results 1 – 1 of 1) sorted by relevance
854 for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) { in fixupAsecPermissions() local856 if (!strcmp(ftsent->fts_name, "lost+found")) { in fixupAsecPermissions()865 const bool privateFile = !strcmp(ftsent->fts_name, filename); in fixupAsecPermissions()867 int fd = open(ftsent->fts_accpath, O_NOFOLLOW); in fixupAsecPermissions()869 SLOGE("Couldn't open file %s: %s", ftsent->fts_accpath, strerror(errno)); in fixupAsecPermissions()876 if (ftsent->fts_info & FTS_D) { in fixupAsecPermissions()878 } else if (ftsent->fts_info & FTS_F) { in fixupAsecPermissions()882 if (selinux_android_restorecon(ftsent->fts_path, 0) < 0) { in fixupAsecPermissions()883 SLOGE("restorecon failed for %s: %s\n", ftsent->fts_path, strerror(errno)); in fixupAsecPermissions()