mirror of
https://github.com/joel16/android_device_sony_kitakami-common.git
synced 2024-11-23 11:49:47 +00:00
b71df7eaed
* From pre-O trees.
28 lines
746 B
Plaintext
28 lines
746 B
Plaintext
type ta_qmi, domain, domain_deprecated;
|
|
type ta_qmi_exec, exec_type, file_type;
|
|
|
|
# Started by init
|
|
init_daemon_domain(ta_qmi)
|
|
|
|
# XXX: What exactly is this needed for? - Need to investigate
|
|
allow ta_qmi self:capability { dac_override net_raw };
|
|
|
|
allow ta_qmi self:socket create_socket_perms;
|
|
allow ta_qmi self:capability { setgid setuid };
|
|
|
|
# Connect to /dev/socket/tad
|
|
unix_socket_connect(ta_qmi, tad, tad)
|
|
|
|
# Connect to /dev/socket/property_service
|
|
unix_socket_connect(ta_qmi, property, init)
|
|
|
|
# Wakelocks!
|
|
wakelock_use(ta_qmi)
|
|
|
|
# Access to /dev/smem_log
|
|
allow ta_qmi smem_log_device:chr_file rw_file_perms;
|
|
|
|
allow ta_qmi socket_device:sock_file write;
|
|
allow ta_qmi ta_prop:property_service set;
|
|
allow ta_qmi ta_prop:file { read open getattr };
|