• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1type mtk_hal_gnss, domain;
2hal_server_domain(mtk_hal_gnss, hal_gnss);
3
4type mtk_hal_gnss_exec, exec_type, vendor_file_type, file_type;
5init_daemon_domain(mtk_hal_gnss)
6
7#TODO:: work around solution, wait for correct solution from google
8vndbinder_use(mtk_hal_gnss)
9
10#r_dir_file(mtk_hal_gnss, system_file)
11
12# Communicate over a socket created by mnld process.
13allow mtk_hal_gnss mnld_data_file:sock_file create_file_perms;
14allow mtk_hal_gnss mnld_data_file:sock_file rw_file_perms;
15allow mtk_hal_gnss mnld_data_file:dir create_file_perms;
16allow mtk_hal_gnss mnld_data_file:dir rw_dir_perms;
17
18allow mtk_hal_gnss mnld:unix_dgram_socket sendto;
19
20