diff options
author | Nick Kralevich <nnk@google.com> | 2014-02-13 00:19:47 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-13 00:19:47 +0000 |
commit | 3049f239156aebba51c7ac0e8112f96f4edf7b7a (patch) | |
tree | 08fa485ec49c88a0dcf78081436fe0fd6fbd5715 /init | |
parent | b49443d1b67bff0d0426261f4f42c23264eff18b (diff) | |
parent | e41420bd8cbaa69f6eaca524b2412cb92a6d18a3 (diff) | |
download | system_core-3049f239156aebba51c7ac0e8112f96f4edf7b7a.zip system_core-3049f239156aebba51c7ac0e8112f96f4edf7b7a.tar.gz system_core-3049f239156aebba51c7ac0e8112f96f4edf7b7a.tar.bz2 |
am e41420bd: am 488b5eaf: am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit 'e41420bd8cbaa69f6eaca524b2412cb92a6d18a3':
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); } |