diff options
author | Nick Kralevich <nnk@google.com> | 2014-02-13 00:12:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-13 00:12:52 +0000 |
commit | e41420bd8cbaa69f6eaca524b2412cb92a6d18a3 (patch) | |
tree | 1088310aaf4413a1b2022e7775384f91d8a7e5be /init | |
parent | 28613a3c447d6ebdc30375ad5c6272c0c911e795 (diff) | |
parent | 488b5eafe368781077b367a9afd68db303bc8891 (diff) | |
download | system_core-e41420bd8cbaa69f6eaca524b2412cb92a6d18a3.zip system_core-e41420bd8cbaa69f6eaca524b2412cb92a6d18a3.tar.gz system_core-e41420bd8cbaa69f6eaca524b2412cb92a6d18a3.tar.bz2 |
am 488b5eaf: am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit '488b5eafe368781077b367a9afd68db303bc8891':
Convert all selinux_android_restorecon and _setfilecon calls to new API.
Diffstat (limited to 'init')
-rw-r--r-- | init/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/util.c b/init/util.c index e772342..0f69e1c 100644 --- a/init/util.c +++ b/init/util.c @@ -527,10 +527,10 @@ int make_dir(const char *path, mode_t mode) int restorecon(const char* pathname) { - return selinux_android_restorecon(pathname); + return selinux_android_restorecon(pathname, 0); } int restorecon_recursive(const char* pathname) { - return selinux_android_restorecon_recursive(pathname); + return selinux_android_restorecon(pathname, SELINUX_ANDROID_RESTORECON_RECURSE); } |