device_xiaomi_sm6150-common/sepolicy/vendor/remosaic_daemon.te
Demon000 bed948fb95
davinci: sepolicy: Add camera rules
Change-Id: Ifade6b81926206a8e7ab0ae0ff8d8dc657de294e
2020-10-10 21:43:31 +02:00

14 lines
400 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)
allow remosaic_daemon remosaic_daemon_service:service_manager add;