summaryrefslogtreecommitdiffstats
path: root/cmds/installd/installd.c
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-02-12 23:09:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-02-12 23:09:45 +0000
commit2044ac43e53b517526b3c70dc4fbc60ffc01693f (patch)
tree5a259e9a1bd973a55b3299179903594fe2a9670a /cmds/installd/installd.c
parent6c14f0ad82be418c742e56fe586657ea0f394b05 (diff)
parent26288202e7bdf2e897a11bf31a15685d7c20945f (diff)
downloadframeworks_native-2044ac43e53b517526b3c70dc4fbc60ffc01693f.zip
frameworks_native-2044ac43e53b517526b3c70dc4fbc60ffc01693f.tar.gz
frameworks_native-2044ac43e53b517526b3c70dc4fbc60ffc01693f.tar.bz2
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
Diffstat (limited to 'cmds/installd/installd.c')
-rw-r--r--cmds/installd/installd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c
index 9c66f2d..549aaab 100644
--- a/cmds/installd/installd.c
+++ b/cmds/installd/installd.c
@@ -398,7 +398,7 @@ int initialize_directories() {
goto fail;
}
- if (selinux_android_restorecon(android_media_dir.path)) {
+ if (selinux_android_restorecon(android_media_dir.path, 0)) {
goto fail;
}