Merge "DiagnosticsTool permissions for accessing touch calibration interface" into udc-qpr-dev

This commit is contained in:
Steve Pfetsch 2023-09-21 20:14:24 +00:00 committed by Android (Google) Code Review
commit 8b350cc57d
4 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# sepolicy exclusively for husky.
BOARD_SEPOLICY_DIRS += device/google/shusky-sepolicy/husky
# unresolved SELinux error log with bug tracking
BOARD_SEPOLICY_DIRS += device/google/shusky-sepolicy/tracking_denials

View file

@ -1,3 +1,5 @@
# sepolicy exclusively for shiba.
BOARD_SEPOLICY_DIRS += device/google/shusky-sepolicy/shiba
# unresolved SELinux error log with bug tracking
BOARD_SEPOLICY_DIRS += device/google/shusky-sepolicy/tracking_denials

2
tracking_denials/file.te Normal file
View file

@ -0,0 +1,2 @@
# b/301300623
typeattribute sysfs_touch_gti mlstrustedobject;

View file

@ -0,0 +1,4 @@
# b/301300623
allow priv_app app_api_service:service_manager find;
allow priv_app sysfs_touch_gti:file rw_file_perms;
allow priv_app sysfs_touch_gti:file { getattr open read write };