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

common: sepolicy: fix DAC panel denials #2

Open
wants to merge 1 commit into
base: lineage-19.1
Choose a base branch
from

Conversation

lifehackerhansol
Copy link

@lifehackerhansol lifehackerhansol commented Aug 16, 2022

App needs to access permission checker service:
avc: denied { find } for pid=7932 uid=1000 name=permission_checker scontext=u:r:dac_panel_app:s0 tcontext=u:object_r:permission_checker_service:s0 tclass=service_manager permissive=0

Change-Id: I386eedaab03c0e31c9220fc1182086c98d73882e

@lifehackerhansol
Copy link
Author

More context:

This PR fixes issues where an enforcing ROM crashes when trying to search stuff in the Settings app. I'm fairly certain you only need the permission checker to fix it, but I found some other very interesting logs where DAC couldn't find its own app settings directory, so may as well be safe and let it search through it.

App needs to access permission checker service:
avc:  denied  { find } for pid=7932 uid=1000 name=permission_checker scontext=u:r:dac_panel_app:s0 tcontext=u:object_r:permission_checker_service:s0 tclass=service_manager permissive=0

Change-Id: I386eedaab03c0e31c9220fc1182086c98d73882e
@lifehackerhansol
Copy link
Author

I removed the system_data_file search policy: it fixes nothing.

There are also several other service manager denials but since it's working I don't think it's a big issue.

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