Juju Sung 12bc2025e2 [ALPS04239425] Sepolicy: fix undefined type declration
[Detail]
Unknown type:untrusted_v2_app,alarm_device,qtaguid_proc,mtd_device
Duplicated type:proc_slabinfo

MTK-Commit-Id: 11ccfcffb994452eb58a697e94a8da748ac73933

Change-Id: I2e847041d14d6b6613044cfaa98f242b7fd9381a
CR-Id: ALPS04239425
Feature: Build System
2020-01-18 10:08:05 +08:00

20 lines
642 B
Plaintext

type mtk_hal_gnss, domain;
hal_server_domain(mtk_hal_gnss, hal_gnss);
type mtk_hal_gnss_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(mtk_hal_gnss)
#TODO:: work around solution, wait for correct solution from google
vndbinder_use(mtk_hal_gnss)
#r_dir_file(mtk_hal_gnss, system_file)
# Communicate over a socket created by mnld process.
allow mtk_hal_gnss mnld_data_file:sock_file create_file_perms;
allow mtk_hal_gnss mnld_data_file:sock_file rw_file_perms;
allow mtk_hal_gnss mnld_data_file:dir create_file_perms;
allow mtk_hal_gnss mnld_data_file:dir rw_dir_perms;
allow mtk_hal_gnss mnld:unix_dgram_socket sendto;