aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/mlog_qmi.te
blob: 76f68413ad53eabc8cf171481494852f286cfef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
type mlog_qmi, domain;
type mlog_qmi_exec, exec_type, file_type;

# Started by init
init_daemon_domain(mlog_qmi)

allow mlog_qmi self:capability { net_raw net_bind_service };
allow mlog_qmi self:socket create_socket_perms;

# Access to /dev/smem_log
allow mlog_qmi smem_log_device:chr_file rw_file_perms;