summaryrefslogtreecommitdiffstats
path: root/common/app.te
blob: caa81002bce8022b22ebdcc7af5da32f541808ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# allow application to access cnd domain and socket
unix_socket_connect(appdomain, cnd, cnd)

# allow application to access dpmd domain and socket
unix_socket_connect(appdomain, dpmwrapper, dpmd)

unix_socket_connect(appdomain, qlogd, qlogd)
unix_socket_send(appdomain, seempdw, seempd)
#Allow all apps to open and send ioctl to qdsp device
allow appdomain qdsp_device:chr_file r_file_perms;

# access to perflock
allow appdomain mpctl_socket:dir r_dir_perms;
unix_socket_send(appdomain, mpctl, perfd)
unix_socket_connect(appdomain, mpctl, perfd)