Correct labels on files / props in odm_dlkm.
All files under odm_dlkm are tagged vendor_file. All build props for odm_dlkm are mapped as build_vendor_prop. Test: build and `ls /odm_dlkm -lZ` `adb shell getprop -Z | grep odm_dlkm` Bug: 154633114 Change-Id: Ifca69d0b7a8da945910a9cb0fa907735cd866f12
This commit is contained in:
parent
850a231fa2
commit
dc9c4561f5
2 changed files with 14 additions and 1 deletions
|
@ -464,6 +464,12 @@
|
||||||
#
|
#
|
||||||
/(vendor_dlkm|vendor/vendor_dlkm|system/vendor/vendor_dlkm)(/.*)? u:object_r:vendor_file:s0
|
/(vendor_dlkm|vendor/vendor_dlkm|system/vendor/vendor_dlkm)(/.*)? u:object_r:vendor_file:s0
|
||||||
|
|
||||||
|
#############################
|
||||||
|
# OdmDlkm files
|
||||||
|
# This includes ODM Dynamically Loadable Kernel Modules and other misc files.
|
||||||
|
#
|
||||||
|
/(odm_dlkm|vendor/odm_dlkm|system/vendor/odm_dlkm)(/.*)? u:object_r:vendor_file:s0
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
# Vendor files from /(product|system/product)/vendor_overlay
|
# Vendor files from /(product|system/product)/vendor_overlay
|
||||||
#
|
#
|
||||||
|
|
|
@ -180,13 +180,14 @@ heapprofd. u:object_r:heapprofd_prop:s0
|
||||||
# hwservicemanager properties
|
# hwservicemanager properties
|
||||||
hwservicemanager. u:object_r:hwservicemanager_prop:s0
|
hwservicemanager. u:object_r:hwservicemanager_prop:s0
|
||||||
|
|
||||||
# Common default properties for vendor, odm, and vendor_dlkm.
|
# Common default properties for vendor, odm, vendor_dlkm, and odm_dlkm.
|
||||||
init.svc.odm. u:object_r:vendor_default_prop:s0
|
init.svc.odm. u:object_r:vendor_default_prop:s0
|
||||||
init.svc.vendor. 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.hardware. u:object_r:vendor_default_prop:s0
|
||||||
ro.odm. 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. u:object_r:vendor_default_prop:s0
|
||||||
ro.vendor_dlkm. u:object_r:vendor_default_prop:s0
|
ro.vendor_dlkm. u:object_r:vendor_default_prop:s0
|
||||||
|
ro.odm_dlkm. u:object_r:vendor_default_prop:s0
|
||||||
odm. 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.odm. u:object_r:vendor_default_prop:s0
|
||||||
persist.vendor. u:object_r:vendor_default_prop:s0
|
persist.vendor. u:object_r:vendor_default_prop:s0
|
||||||
|
@ -626,6 +627,12 @@ ro.vendor_dlkm.build.date.utc u:object_r:build_vendor_prop:s0 exact i
|
||||||
ro.vendor_dlkm.build.fingerprint u:object_r:build_vendor_prop:s0 exact string
|
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
|
ro.vendor_dlkm.build.version.incremental u:object_r:build_vendor_prop:s0 exact string
|
||||||
|
|
||||||
|
# All odm_dlkm build props are set by /odm_dlkm/etc/build.prop
|
||||||
|
ro.odm_dlkm.build.date u:object_r:build_vendor_prop:s0 exact string
|
||||||
|
ro.odm_dlkm.build.date.utc u:object_r:build_vendor_prop:s0 exact int
|
||||||
|
ro.odm_dlkm.build.fingerprint u:object_r:build_vendor_prop:s0 exact string
|
||||||
|
ro.odm_dlkm.build.version.incremental u:object_r:build_vendor_prop:s0 exact string
|
||||||
|
|
||||||
# All vendor build props are set by /vendor/build.prop
|
# 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 u:object_r:build_vendor_prop:s0 exact string
|
||||||
ro.vendor.build.date.utc u:object_r:build_vendor_prop:s0 exact int
|
ro.vendor.build.date.utc u:object_r:build_vendor_prop:s0 exact int
|
||||||
|
|
Loading…
Reference in a new issue