Merge "Correct labels on files / props in vendor_dlkm."

This commit is contained in:
Yifan Hong 2020-07-14 19:15:13 +00:00 committed by Gerrit Code Review
commit f74fa29aed
2 changed files with 14 additions and 1 deletions

View file

@ -458,6 +458,12 @@
/(system_ext|system/system_ext)/lib(64)?(/.*)? u:object_r:system_lib_file:s0
#############################
# VendorDlkm files
# This includes VENDOR Dynamically Loadable Kernel Modules and other misc files.
#
/(vendor_dlkm|vendor/vendor_dlkm|system/vendor/vendor_dlkm)(/.*)? u:object_r:vendor_file:s0
#############################
# Vendor files from /(product|system/product)/vendor_overlay
#

View file

@ -179,12 +179,13 @@ heapprofd. u:object_r:heapprofd_prop:s0
# hwservicemanager properties
hwservicemanager. u:object_r:hwservicemanager_prop:s0
# Common default properties for vendor and odm.
# Common default properties for vendor, odm, and vendor_dlkm.
init.svc.odm. u:object_r:vendor_default_prop:s0
init.svc.vendor. u:object_r:vendor_default_prop:s0
ro.hardware. u:object_r:vendor_default_prop:s0
ro.odm. u:object_r:vendor_default_prop:s0
ro.vendor. u:object_r:vendor_default_prop:s0
ro.vendor_dlkm. u:object_r:vendor_default_prop:s0
odm. u:object_r:vendor_default_prop:s0
persist.odm. u:object_r:vendor_default_prop:s0
persist.vendor. u:object_r:vendor_default_prop:s0
@ -618,6 +619,12 @@ ro.product.odm.manufacturer u:object_r:build_odm_prop:s0 exact string
ro.product.odm.model u:object_r:build_odm_prop:s0 exact string
ro.product.odm.name u:object_r:build_odm_prop:s0 exact string
# All vendor_dlkm build props are set by /vendor_dlkm/build.prop
ro.vendor_dlkm.build.date u:object_r:build_vendor_prop:s0 exact string
ro.vendor_dlkm.build.date.utc u:object_r:build_vendor_prop:s0 exact int
ro.vendor_dlkm.build.fingerprint u:object_r:build_vendor_prop:s0 exact string
ro.vendor_dlkm.build.version.incremental u:object_r:build_vendor_prop:s0 exact string
# All vendor build props are set by /vendor/build.prop
ro.vendor.build.date u:object_r:build_vendor_prop:s0 exact string
ro.vendor.build.date.utc u:object_r:build_vendor_prop:s0 exact int