am a9bb594d: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit 'a9bb594da6aff97ba927ba67a34486d0b9c1b4a0': Convert all selinux_android_restorecon and _setfilecon calls to new API.
This commit is contained in:
@@ -415,7 +415,7 @@ static jboolean native_restorecon(JNIEnv *env, jobject, jstring pathnameStr) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int ret = selinux_android_restorecon(pathname.c_str());
|
||||
int ret = selinux_android_restorecon(pathname.c_str(), 0);
|
||||
ALOGV("restorecon(%s) => %d", pathname.c_str(), ret);
|
||||
return (ret == 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user