Allow authfs_service to add itself to service manager am: a70e6052c2
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1792168 Change-Id: I7d29662ba6cb8f0dd3d2d7293406ba6ebd301af4
This commit is contained in:
commit
18e91ef6c4
3 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,7 @@ init_daemon_domain(authfs_service)
|
|||
|
||||
# Allow running as a binder service.
|
||||
binder_call(authfs_service, servicemanager)
|
||||
add_service(authfs_service, authfs_binder_service)
|
||||
|
||||
# Allow domain transition into authfs.
|
||||
domain_auto_trans(authfs_service, authfs_exec, authfs)
|
||||
|
|
|
@ -15,5 +15,6 @@ android.security.maintenance u:object_r:keystore_maintenance_servic
|
|||
android.security.metrics u:object_r:keystore_metrics_service:s0
|
||||
android.security.remoteprovisioning u:object_r:remoteprovisioning_service:s0
|
||||
apexservice u:object_r:apex_service:s0
|
||||
authfs_service u:object_r:authfs_binder_service:s0
|
||||
manager u:object_r:service_manager_service:s0
|
||||
* u:object_r:default_android_service:s0
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Miscellaneous types
|
||||
type adb_service, system_server_service, system_api_service, service_manager_type;
|
||||
type apex_service, service_manager_type;
|
||||
type authfs_binder_service, service_manager_type;
|
||||
type authorization_service, service_manager_type;
|
||||
type credstore_service, app_api_service, service_manager_type;
|
||||
type default_android_hwservice, hwservice_manager_type, protected_hwservice;
|
||||
|
|
Loading…
Reference in a new issue