cec: use vendor property for device & remove unneeded properties
* Use vendor property to allow labeling it for SELinux. * Remove unneeded properties to set version and vendor id. Using the default values in any case.
This commit is contained in:
@@ -1 +1,2 @@
|
||||
allow hal_tv_hdmi_cec_default cec_device:chr_file rw_file_perms;
|
||||
get_prop(hal_tv_hdmi_cec_default, vendor_hdmi_config_prop)
|
||||
|
1
sepolicy/property.te
Normal file
1
sepolicy/property.te
Normal file
@@ -0,0 +1 @@
|
||||
vendor_internal_prop(vendor_hdmi_config_prop)
|
2
sepolicy/property_contexts
Normal file
2
sepolicy/property_contexts
Normal file
@@ -0,0 +1,2 @@
|
||||
# CEC
|
||||
persist.vendor.hdmi.cec_device u:object_r:vendor_hdmi_config_prop:s0
|
Reference in New Issue
Block a user