Merge "sepolicy: fix missing label on vendor_service_contexts"

This commit is contained in:
Tri Vo 2019-10-03 22:29:53 +00:00 committed by Gerrit Code Review
commit f53c57287d
2 changed files with 3 additions and 1 deletions

View file

@ -365,6 +365,8 @@
# HAL location
/(vendor|system/vendor)/lib(64)?/hw u:object_r:vendor_hal_file:s0
/(vendor|system/vendor)/etc/selinux/(vendor|nonplat)_service_contexts u:object_r:nonplat_service_contexts_file:s0
#############################
# OEM and ODM files
#

View file

@ -477,7 +477,7 @@ type sepolicy_file, system_file_type, file_type;
type service_contexts_file, system_file_type, file_type;
# nonplat service_contexts file (only accessible on non full-treble devices)
type nonplat_service_contexts_file, file_type;
type nonplat_service_contexts_file, vendor_file_type, file_type;
# hwservice_contexts file
type hwservice_contexts_file, system_file_type, file_type;