Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow dex2oat to read files received from sockets #165

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

JingMatrix
Copy link
Owner

On some devices dex2oat cannot access files received from sockets due to SELinux restrictions.
A new rule is added according to the avc logs.

On some devices `dex2oat` cannot access files received from sockets due to SELinux restrictions.
Rules added according to the avc logs.
@JingMatrix
Copy link
Owner Author

Here is the logs from user report:

denied  { open } for  pid=19999 comm="6" path="/data/adb/modules/zygisk_lsposed/bin/liboat_hook64.so" dev="sda32" ino=793301 scontext=u:r:dex2oat:s0 tcontext=u:object_r:unlabeled:s0 tclass=file permissive=0

@JingMatrix
Copy link
Owner Author

@Dev4Mod , your device has this problem. Please provide the following avc logs

adb shell su -c 'cat /proc/kmsg | grep avc'

while you choose an app and re-optimize it in LSPosed manager.

@JingMatrix JingMatrix merged commit 209a541 into master Jan 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant