a32: sepolicy|prop: Import ro.product_ship with sepolicy
This commit is contained in:
parent
05b92b6156
commit
6fdf70ebf0
9 changed files with 16 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# Camera
|
||||
persist.sns.camera_light u:object_r:sns_camera_light_prop:s0
|
||||
cam.dipsavefile.enable u:object_r:sec_camera_prop:s0
|
||||
|
||||
# Product
|
||||
ro.product_ship u:object_r:product_ship_prop:s0
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
type sns_camera_light_prop, property_type, system_property_type, system_public_property_type;
|
||||
type sec_camera_prop, property_type, system_property_type, system_public_property_type;
|
||||
type product_ship_prop, property_type, system_property_type, system_public_property_type;
|
||||
|
|
|
|||
2
sepolicy/vendor/hal_hyper_default.te
vendored
2
sepolicy/vendor/hal_hyper_default.te
vendored
|
|
@ -8,3 +8,5 @@ allow hal_hyper_default sysfs_power:file rw_file_perms;
|
|||
allow hal_hyper_default proc_kswapd_perftune_cpumask:file rw_file_perms;
|
||||
allow hal_hyper_default sysfs_ski_memory_writable:dir r_dir_perms;
|
||||
allow hal_hyper_default sysfs_ski_memory_writable:file rw_file_perms;
|
||||
|
||||
get_prop(hal_hyper_default, product_ship_prop)
|
||||
|
|
|
|||
1
sepolicy/vendor/hal_nfc_default.te
vendored
Normal file
1
sepolicy/vendor/hal_nfc_default.te
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
get_prop(hal_nfc_default, product_ship_prop)
|
||||
2
sepolicy/vendor/hal_proca_default.te
vendored
2
sepolicy/vendor/hal_proca_default.te
vendored
|
|
@ -2,3 +2,5 @@ type hal_proca_default, domain;
|
|||
type hal_proca_default_exec, exec_type, file_type, vendor_file_type;
|
||||
|
||||
init_daemon_domain(hal_proca_default)
|
||||
|
||||
get_prop(hal_proca_default, product_ship_prop)
|
||||
|
|
|
|||
2
sepolicy/vendor/rild.te
vendored
2
sepolicy/vendor/rild.te
vendored
|
|
@ -12,3 +12,5 @@ allow rild cassd:dir search;
|
|||
allow rild cassd:file { read getattr open };
|
||||
|
||||
allow rild hal_telephony_hwservice:hwservice_manager { add find };
|
||||
|
||||
get_prop(rild, product_ship_prop)
|
||||
|
|
|
|||
2
sepolicy/vendor/tzdaemon.te
vendored
2
sepolicy/vendor/tzdaemon.te
vendored
|
|
@ -2,3 +2,5 @@ type tzdaemon, domain;
|
|||
type tzdaemon_exec, exec_type, file_type, vendor_file_type;
|
||||
|
||||
init_daemon_domain(tzdaemon)
|
||||
|
||||
get_prop(tzdaemon, product_ship_prop)
|
||||
|
|
|
|||
2
sepolicy/vendor/tztsd.te
vendored
2
sepolicy/vendor/tztsd.te
vendored
|
|
@ -2,3 +2,5 @@ type tztsd, domain;
|
|||
type tztsd_exec, exec_type, file_type, vendor_file_type;
|
||||
|
||||
init_daemon_domain(tztsd)
|
||||
|
||||
get_prop(tztsd, product_ship_prop)
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ ro.config.per_app_memcg=false
|
|||
# Misc
|
||||
ro.vendor.mtk_omacp_support=1
|
||||
persist.vendor.mdlog.flush_log_ratio=0
|
||||
ro.product_ship=true
|
||||
|
||||
# OEM Unlock
|
||||
ro.oem_unlock_supported=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue