am 4f2d02fb: am 20b5fd98: am 93994e9d: am a9bb594d: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
* commit '4f2d02fb0073c4129957c0d2ac6e0c0055f4dad8': 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;
|
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);
|
ALOGV("restorecon(%s) => %d", pathname.c_str(), ret);
|
||||||
return (ret == 0);
|
return (ret == 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user