manager: change minimal CAP to DAC_READ_SEARCH

This commit is contained in:
weishu
2023-06-05 10:17:10 +08:00
parent 2f2b303e72
commit 0e9148a255
+1 -1
View File
@@ -157,7 +157,7 @@ Java_me_weishu_kernelsu_Natives_getAppProfile(JNIEnv *env, jobject, jstring pkg,
env->SetBooleanField(obj, nonRootUseDefaultField, true);
jobject capList = env->GetObjectField(obj, capabilitiesField);
int DEFAULT_CAPS[] = {CAP_DAC_OVERRIDE };
int DEFAULT_CAPS[] = {CAP_DAC_READ_SEARCH };
for (auto i: DEFAULT_CAPS) {
addIntToList(env, capList, i);