Add hwservice_contexts and support for querying it.
hwservicemanager can check hwservice_contexts files both from the framework and vendor partitions. Initially, have a wildcard '*' in hwservice_contexts that maps to a label that can be added/found from domain. This needs to be removed when the proper policy is in place. Also, grant su/shell access to hwservicemanager list operations, so tools like 'lshal' continue to work. Bug: 34454312 Test: Marlin boots Change-Id: I3a02d97a82458692b528d85c1b8e78b6f82ea1bc
Showing
- Android.mk 64 additions, 0 deletionsAndroid.mk
- private/file_contexts 4 additions, 0 deletionsprivate/file_contexts
- private/hwservice_contexts 1 addition, 0 deletionsprivate/hwservice_contexts
- public/domain.te 3 additions, 0 deletionspublic/domain.te
- public/file.te 3 additions, 0 deletionspublic/file.te
- public/hwservice.te 1 addition, 0 deletionspublic/hwservice.te
- public/hwservicemanager.te 5 additions, 3 deletionspublic/hwservicemanager.te
- public/shell.te 1 addition, 0 deletionspublic/shell.te
- public/su.te 2 additions, 0 deletionspublic/su.te
Loading
Please register or sign in to comment