common: sepolicy: fix DAC panel denials#2
Open
lifehackerhansol wants to merge 1 commit intoSGCMarkus:lineage-19.1from
Open
common: sepolicy: fix DAC panel denials#2lifehackerhansol wants to merge 1 commit intoSGCMarkus:lineage-19.1from
lifehackerhansol wants to merge 1 commit intoSGCMarkus:lineage-19.1from
Conversation
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
84e694e to
fef804c
Compare
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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