sm8250-common: sepolicy: Fix build for S
Change-Id: Ic0c822ce146bee4d09a62306d4573f557acd186e
This commit is contained in:
parent
55053bf55c
commit
0fe53f415a
@ -207,6 +207,7 @@ ENABLE_VENDOR_RIL_SERVICE := true
|
||||
|
||||
# SELinux
|
||||
include device/qcom/sepolicy_vndr/SEPolicy.mk
|
||||
BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
|
||||
BOARD_VENDOR_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/vendor
|
||||
PRODUCT_PRIVATE_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/private
|
||||
PRODUCT_PUBLIC_SEPOLICY_DIRS += $(COMMON_PATH)/sepolicy/public
|
||||
|
2
sepolicy/private/property_contexts
Normal file
2
sepolicy/private/property_contexts
Normal file
@ -0,0 +1,2 @@
|
||||
# Radio
|
||||
gsm.operator.iso-country u:object_r:telephony_status_prop:s0 exact string
|
3
sepolicy/vendor/hal_camera_default.te
vendored
3
sepolicy/vendor/hal_camera_default.te
vendored
@ -4,9 +4,6 @@ allow hal_camera_default mnt_vendor_file:dir search;
|
||||
# Allow hal_camera_default to call system_server
|
||||
binder_call(hal_camera_default, system_server)
|
||||
|
||||
# Camera props
|
||||
get_prop(hal_camera_default, exported_radio_prop)
|
||||
|
||||
# STM Prox Sensor
|
||||
allow hal_camera_default vendor_sysfs_laser:file rw_file_perms;
|
||||
allow hal_camera_default input_device:chr_file r_file_perms;
|
||||
|
6
sepolicy/vendor/property.te
vendored
6
sepolicy/vendor/property.te
vendored
@ -1,4 +1,4 @@
|
||||
# Motorola
|
||||
type vendor_mot_fingerprint_prop, property_type;
|
||||
type vendor_mot_hw_prop, property_type;
|
||||
type vendor_mot_touch_prop, property_type;
|
||||
vendor_internal_prop(vendor_mot_fingerprint_prop);
|
||||
vendor_internal_prop(vendor_mot_hw_prop);
|
||||
vendor_internal_prop(vendor_mot_touch_prop);
|
||||
|
1
sepolicy/vendor/property_contexts
vendored
1
sepolicy/vendor/property_contexts
vendored
@ -3,7 +3,6 @@ camera.mot.is.coming.cts u:object_r:vendor_camera_prop:s0
|
||||
|
||||
# Radio
|
||||
vendor.ril. u:object_r:vendor_radio_prop:s0
|
||||
gsm.operator.iso-country u:object_r:exported_radio_prop:s0
|
||||
|
||||
# Motorola
|
||||
ro.mot.build.customerid u:object_r:exported_default_prop:s0
|
||||
|
Loading…
x
Reference in New Issue
Block a user