commit | 3c0d02aa03118713e6e770b54d1c530ff866f156 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Feb 12 23:09:58 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Feb 12 23:09:58 2014 +0000 |
tree | c81ed0da5a81dfbfa7ca9e63cb85a986656e389e | |
parent | 1dc1fb4adc71ea9cf26a5033513bd3a1474f79a1 [diff] | |
parent | 5093e6187da9c237c88383540f544c8dbaf37754 [diff] |
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
diff --git a/VolumeManager.cpp b/VolumeManager.cpp index 40f58fa..757fae7 100644 --- a/VolumeManager.cpp +++ b/VolumeManager.cpp
@@ -616,7 +616,7 @@ 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; }