mtk12101 722798a334 [ALPS03982747] Remove unused sepolicy rules
Some rules is no need any more, need to remove it.

MTK-Commit-Id: 49685f1299d990a7195a2d54b955517d8f2cc699

Change-Id: I4a590ad781589cf94989ce72c88751ac10b82eae
CR-Id: ALPS03982747
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
2020-01-18 10:02:25 +08:00

20 lines
641 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;