Skip to content

Add SELinux rule for serial service discovery#647

Closed
JingMatrix wants to merge 2 commits intomasterfrom
selinux
Closed

Add SELinux rule for serial service discovery#647
JingMatrix wants to merge 2 commits intomasterfrom
selinux

Conversation

@JingMatrix
Copy link
Copy Markdown
Owner

On Xiaomi Android 12 [Xiaomi/toco_ru/toco:12/RKQ1.210614.002/V13.0.4.0.SFNRUXM:user/release-keys], the following SELinux rule is stopping daemon from discovering the serial service for system_servce IPC initialization:

avc:  denied  { find } for pid=... uid=1000 name=... scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0

On Xiaomi Android 12 [Xiaomi/toco_ru/toco:12/RKQ1.210614.002/V13.0.4.0.SFNRUXM:user/release-keys], the following SELinux rule is stopping daemon from discovering the `serial` service for system_servce IPC initialization:

```
avc:  denied  { find } for pid=... uid=1000 name=... scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0
```
@JingMatrix JingMatrix linked an issue Apr 8, 2026 that may be closed by this pull request
1 task
@JingMatrix JingMatrix changed the title Add SELinux for serial service discovery Add SELinux rule for serial service discovery Apr 8, 2026
@JingMatrix JingMatrix closed this Apr 8, 2026
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.

LSPosed Manager won't open. Android 12 (MIUI)

1 participant