mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Add policies to remove System UID from time service
Bug: 62785008 Change-Id: I85cdaa618da7beddce88d4b67bd1b9d08c0a9c00
This commit is contained in:
committed by
Thierry Strudel
parent
454fc3e786
commit
739f448717
2
sepolicy/vendor/seapp_contexts
vendored
2
sepolicy/vendor/seapp_contexts
vendored
@@ -20,7 +20,7 @@ user=_app seinfo=platform name=com.google.android.hardwareinfo domain=hardware_i
|
||||
user=_app seinfo=google name=com.google.android.GoogleCamera domain=google_camera_app type=app_data_file levelFrom=user
|
||||
|
||||
#Needed for time service apk
|
||||
user=system seinfo=platform name=com.qualcomm.timeservice domain=timeservice_app type=system_app_data_file
|
||||
user=_app seinfo=platform name=com.qualcomm.timeservice domain=timeservice_app type=app_data_file
|
||||
|
||||
# Domain for easelservice app
|
||||
user=_app seinfo=easel name=com.google.android.imaging.easel.service domain=easelservice_app type=app_data_file levelFrom=user
|
||||
|
||||
2
sepolicy/vendor/timeservice_app.te
vendored
2
sepolicy/vendor/timeservice_app.te
vendored
@@ -2,5 +2,5 @@ type timeservice_app, domain;
|
||||
app_domain(timeservice_app);
|
||||
|
||||
allow timeservice_app app_api_service:service_manager find;
|
||||
allow timeservice_app system_app_data_file:dir { search getattr };
|
||||
allow timeservice_app app_data_file:dir { search getattr };
|
||||
allow timeservice_app time_daemon:unix_stream_socket connectto;
|
||||
|
||||
Reference in New Issue
Block a user