mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -04:00
universal7885: sepolicy: Fix system_app rules
Also move fm dev ioctl allow to fm hal
This commit is contained in:
parent
365fa56736
commit
dd1f2a2bd2
2 changed files with 4 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
type hal_fmradio_default, domain, coredomain;
|
type hal_fmradio_default, domain, coredomain;
|
||||||
type hal_fmradio_default_exec, exec_type, file_type, system_file_type;
|
type hal_fmradio_default_exec, exec_type, file_type, system_file_type;
|
||||||
|
|
||||||
add_service(hal_fmradio_default, hal_fmradio_service);
|
add_service(hal_fmradio_default, hal_fmradio_service);
|
||||||
init_daemon_domain(hal_fmradio_default);
|
init_daemon_domain(hal_fmradio_default);
|
||||||
|
|
@ -11,3 +11,4 @@ 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;
|
||||||
|
|
||||||
allow hal_fmradio_default sysfs_virtual:dir search;
|
allow hal_fmradio_default sysfs_virtual:dir search;
|
||||||
|
allow hal_fmradio_default fm_radio_device:chr_file { read write open ioctl };
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,11 @@
|
||||||
# SamsungParts
|
# SamsungParts
|
||||||
allow system_app hal_parts_hwservice:hwservice_manager find;
|
allow system_app hal_parts_service:service_manager find;
|
||||||
|
|
||||||
allow system_app hal_parts_default:binder call;
|
allow system_app hal_parts_default:binder call;
|
||||||
|
|
||||||
r_dir_file(system_app, parts_data_file)
|
r_dir_file(system_app, parts_data_file)
|
||||||
|
|
||||||
# FMRadio
|
# FMRadio
|
||||||
allow system_app hal_fmradio_hwservice:hwservice_manager find;
|
allow system_app hal_fmradio_service:service_manager find;
|
||||||
|
|
||||||
allow system_app hal_fmradio_default:binder call;
|
allow system_app hal_fmradio_default:binder call;
|
||||||
|
|
||||||
allow system_app fm_radio_device:chr_file { read write open ioctl };
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue