mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 14:26:00 +00:00
perf(proot): enable syscall patching by default
This commit is contained in:
1 parent
4b230cbd0f
commit
785d1bf1da
2 files changed
+15
-9
No files matched your search
@@ -207,7 +207,7 @@ static void svc_stats(void) {
|
||||
|
||||
__attribute__((constructor)) static void svc_patch_init(void) {
|
||||
const char *enabled = getenv("PROOT_FP_PATCH_SVC");
|
||||
if (!enabled || strcmp(enabled, "1") || !fp_ready()) return;
|
||||
if ((enabled && strcmp(enabled, "1")) || !fp_ready()) return;
|
||||
if (getauxval(AT_HWCAP) & HWCAP_SVE) return;
|
||||
#ifdef HWCAP2_SME
|
||||
if (getauxval(AT_HWCAP2) & HWCAP2_SME) return;
|
||||
|
||||
Reference in new issue
Block a user