diff options
| author | 2014-02-12 23:09:44 +0000 | |
|---|---|---|
| committer | 2014-02-12 23:09:45 +0000 | |
| commit | 2044ac43e53b517526b3c70dc4fbc60ffc01693f (patch) | |
| tree | 5a259e9a1bd973a55b3299179903594fe2a9670a /cmds/dumpstate/utils.c | |
| parent | 6c14f0ad82be418c742e56fe586657ea0f394b05 (diff) | |
| parent | 26288202e7bdf2e897a11bf31a15685d7c20945f (diff) | |
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
Diffstat (limited to 'cmds/dumpstate/utils.c')
| -rw-r--r-- | cmds/dumpstate/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/utils.c b/cmds/dumpstate/utils.c index fe716acfe2..670e09cc84 100644 --- a/cmds/dumpstate/utils.c +++ b/cmds/dumpstate/utils.c @@ -469,7 +469,7 @@ const char *dump_traces() { if (!mkdir(anr_traces_dir, 0775)) { chown(anr_traces_dir, AID_SYSTEM, AID_SYSTEM); chmod(anr_traces_dir, 0775); - if (selinux_android_restorecon(anr_traces_dir) == -1) { + if (selinux_android_restorecon(anr_traces_dir, 0) == -1) { fprintf(stderr, "restorecon failed for %s: %s\n", anr_traces_dir, strerror(errno)); } } else if (errno != EEXIST) { |