am 3c0d02aa
: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit '3c0d02aa03118713e6e770b54d1c530ff866f156': Convert all selinux_android_restorecon and _setfilecon calls to new API.
This commit is contained in:
commit
3214d1f5a4
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ int VolumeManager::fixupAsecPermissions(const char *id, gid_t gid, const char* f
|
|||
result |= fchmod(fd, privateFile ? 0640 : 0644);
|
||||
}
|
||||
|
||||
if (selinux_android_restorecon(ftsent->fts_path) < 0) {
|
||||
if (selinux_android_restorecon(ftsent->fts_path, 0) < 0) {
|
||||
SLOGE("restorecon failed for %s: %s\n", ftsent->fts_path, strerror(errno));
|
||||
result |= -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue