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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions sepolicy/private/dac_panel_app.te
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@ app_domain(dac_panel_app)
binder_call(dac_panel_app, hal_dac_control_default)
binder_call(dac_panel_app, gpuservice)

allow dac_panel_app system_app_data_file:dir { rw_dir_perms create };
allow dac_panel_app system_app_data_file:file { rw_file_perms create rename setattr unlink };
allow dac_panel_app system_app_data_file:dir create_dir_perms;
allow dac_panel_app system_app_data_file:file create_file_perms;

allow dac_panel_app { activity_service activity_task_service
audio_service audioserver_service
autofill_service gpu_service
media_session_service surfaceflinger_service }:service_manager find;
allow dac_panel_app {
activity_service
activity_task_service
audio_service
audioserver_service
autofill_service
gpu_service
media_session_service
permission_checker_service
surfaceflinger_service
}:service_manager find;

allow dac_panel_app hal_dac_control_hwservice:hwservice_manager find;

Expand Down