Aayush Gupta 73275bb9c0 non_plat: Label and address dfps hidl/service denials
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I4af35f0ad1cb1f77dae7813341e4d98e0c7b884f
2021-01-25 15:47:16 +05:30

19 lines
463 B
Plaintext

type mtk_hal_dfps, domain;
type mtk_hal_dfps_exec, exec_type, file_type, vendor_file_type;
init_daemon_domain(mtk_hal_dfps)
hwbinder_use(mtk_hal_dfps);
vndbinder_use(mtk_hal_dfps);
hal_server_domain(mtk_hal_dfps, hal_dfps)
add_hwservice(hal_dfps_server, mtk_hal_dfps_hwservice)
r_dir_file(mtk_hal_dfps, sysfs_type)
r_dir_file(mtk_hal_dfps, proc_net);
get_prop(mtk_hal_dfps, hwservicemanager_prop)
allow mtk_hal_dfps mtk_dfrc_device:chr_file rw_file_perms;