diff options
| author | 2014-02-12 23:15:07 +0000 | |
|---|---|---|
| committer | 2014-02-12 23:15:07 +0000 | |
| commit | 0e4d2885a34d31f5dbe5a08bdb654953abaf82a2 (patch) | |
| tree | 2f9f1bb702f472e6c08180e67afa1f6e15a76b94 /cmds/dumpstate/utils.c | |
| parent | eac45b8a53e8a17b6c9a1e7bb69a8a791073c007 (diff) | |
| parent | 2044ac43e53b517526b3c70dc4fbc60ffc01693f (diff) | |
am 2044ac43: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit '2044ac43e53b517526b3c70dc4fbc60ffc01693f':
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) { |