universal7885: sepolicy: Fix neverallows and label

This commit is contained in:
roynatech2544 2022-10-06 17:31:49 +00:00
commit 972e443357
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,6 @@ add_service(hal_fmradio_default, hal_fmradio_service);
init_daemon_domain(hal_fmradio_default);
binder_use(hal_fmradio_default);
get_prop(hal_fmradio_default, servicemanager_prop);
allow hal_fmradio_default sysfs_fmradio_tune:file rw_file_perms;
allow hal_fmradio_default sysfs_fmradio_tune:dir search;

View file

@ -1,11 +1,10 @@
type hal_parts_default, domain, coredomain;
type hal_parts_default_exec, exec_type, file_type, system_file_type;
add_hwservice(hal_parts_default, hal_parts_service);
add_service(hal_parts_default, hal_parts_service);
init_daemon_domain(hal_parts_default);
binder_use(hal_parts_default);
get_prop(hal_parts_default, servicemanager_prop);
# Battery
allow hal_parts_default sysfs_sec_switch:dir { search };

View file

@ -4,5 +4,7 @@ vendor.eureka.hardware.parts::IFlashBrightness u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts::IDisplayConfigs u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts::ISwapOnData u:object_r:hal_parts_service:s0
vendor.eureka.hardware.parts::ISmartCharge u:object_r:hal_parts_service:s0
# FMRadio
vendor.eureka.hardware.fmradio::IFMRadio u:object_r:hal_fmradio_service:s0
vendor.eureka.hardware.fmradio::IFMDevControl u:object_r:hal_fmradio_service:s0
vendor.eureka.hardware.fmradio::IFMSysfsSupport u:object_r:hal_fmradio_service:s0