Issue Report: LSPosed and Frida-server Conflict with KernelSU

Steps to Reproduce/复现步骤

  1. KernelSU root: Ensure the device is rooted using KernelSU.
  2. Install Zygisk Next and LSPosed modules: Both modules should be installed on the device.
  3. Start the Frida-server server (version 17.2.11): Attempt to start the Frida-server service.

Expected Behavior/预期行为

LSPosed should work seamlessly with Frida-server, allowing both modules to operate without conflicts.

Actual Behavior/实际行为

When the LSPosed module is enabled, if Frida-server is enabled again, it will immediately freeze and report an error. The error seems to be related to SELinux. Testing has shown that disabling the LSPosed module allows Frida-server to work normally.

Xposed Module List/Xposed 模块列表

No additional modules were downloaded.

Root Implementation/Root 方案

KernelSU is used for the root implementation.

System Module List/系统模块列表

1. MoveCertificate 1.5.5
2. Zygisk Next 1.2.9
3. Zygisk - LSPosed 1.10.2

LSPosed Version/LSPosed 版本

1.10.2

Android Version/Android 版本

System: Android 13 TQ3A.230901.001, kernel: 5.10.157-android13-4-00003

Version Requirement/版本要求

Logs/日志

When the Frida-server crashed and I cancelled it by pressing Ctrl-C, an error message appeared:

Frida:ERROR:../subprojects/frida-core/lib/base/promise.vala:107:frida_promise_impl_resolve: assertion failed: (!_ready)
Bail out! Frida:ERROR:../subprojects/frida-core/lib/base/promise.vala:107:frida_promise_impl_resolve: assertion failed: (!_ready)
Aborted

Analysis/分析

The issue seems to be a conflict between LSPosed and Frida-server, possibly triggered by SELinux policies when both are enabled simultaneously. Disabling LSPosed resolves the issue, indicating that the conflict is specific to the interaction between these two modules under KernelSU's root environment. Further investigation is required to understand the underlying cause and to explore potential solutions that would allow both modules to coexist without issues.