Add policies to remove System UID from time service

Bug: 62785008
Change-Id: I85cdaa618da7beddce88d4b67bd1b9d08c0a9c00
This commit is contained in:
Roopesh Rajashekharaiah Nataraja
2017-06-29 18:37:01 -07:00
committed by Thierry Strudel
parent 454fc3e786
commit 739f448717
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;