mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: sepolicy: Fix neverallows and label
This commit is contained in:
parent
9030e2eb7b
commit
972e443357
3 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,6 @@ add_service(hal_fmradio_default, hal_fmradio_service);
|
||||||
init_daemon_domain(hal_fmradio_default);
|
init_daemon_domain(hal_fmradio_default);
|
||||||
|
|
||||||
binder_use(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:file rw_file_perms;
|
||||||
allow hal_fmradio_default sysfs_fmradio_tune:dir search;
|
allow hal_fmradio_default sysfs_fmradio_tune:dir search;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
type hal_parts_default, domain, coredomain;
|
type hal_parts_default, domain, coredomain;
|
||||||
type hal_parts_default_exec, exec_type, file_type, system_file_type;
|
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);
|
init_daemon_domain(hal_parts_default);
|
||||||
|
|
||||||
binder_use(hal_parts_default);
|
binder_use(hal_parts_default);
|
||||||
get_prop(hal_parts_default, servicemanager_prop);
|
|
||||||
|
|
||||||
# Battery
|
# Battery
|
||||||
allow hal_parts_default sysfs_sec_switch:dir { search };
|
allow hal_parts_default sysfs_sec_switch:dir { search };
|
||||||
|
|
|
||||||
|
|
@ -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::IDisplayConfigs u:object_r:hal_parts_service:s0
|
||||||
vendor.eureka.hardware.parts::ISwapOnData 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
|
vendor.eureka.hardware.parts::ISmartCharge u:object_r:hal_parts_service:s0
|
||||||
|
|
||||||
# FMRadio
|
# 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue