device_xiaomi_sm6150-common/sepolicy/vendor/remosaic_daemon.te
Arian ce26567d62
davinci: sepolicy: Use add_service macro for remosaic_daemon
Change-Id: I2ca58c07d6bd01778b7b79da904abe54713aaaba
2020-11-28 18:12:02 +01:00

14 lines
387 B
Plaintext

type remosaic_daemon, domain;
type remosaic_daemon_exec, exec_type, vendor_file_type, file_type;
type remosaic_daemon_service, vndservice_manager_type;
allow remosaic_daemon ion_device:chr_file r_file_perms;
r_dir_file(remosaic_daemon, vendor_camera_data_file)
init_daemon_domain(remosaic_daemon)
vndbinder_use(remosaic_daemon)
add_service(remosaic_daemon, remosaic_daemon_service)