Searched refs:ftsent (Results 1 – 1 of 1) sorted by relevance
1225 for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) { in fixupAsecPermissions() local1227 if (!strcmp(ftsent->fts_name, "lost+found")) { in fixupAsecPermissions()1236 const bool privateFile = !strcmp(ftsent->fts_name, filename); in fixupAsecPermissions()1238 int fd = open(ftsent->fts_accpath, O_NOFOLLOW | O_CLOEXEC); in fixupAsecPermissions()1240 SLOGE("Couldn't open file %s: %s", ftsent->fts_accpath, strerror(errno)); in fixupAsecPermissions()1247 if (ftsent->fts_info & FTS_D) { in fixupAsecPermissions()1249 } else if (ftsent->fts_info & FTS_F) { in fixupAsecPermissions()1253 if (selinux_android_restorecon(ftsent->fts_path, 0) < 0) { in fixupAsecPermissions()1254 SLOGE("restorecon failed for %s: %s\n", ftsent->fts_path, strerror(errno)); in fixupAsecPermissions()