| # 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; |
| #Allow all apps to have read access to dsp partition |
| r_dir_file(appdomain, adsprpcd_file) |
| |
| # access to perflock |
| allow appdomain mpctl_socket:dir r_dir_perms; |
| unix_socket_send(appdomain, mpctl, perfd) |
| unix_socket_connect(appdomain, mpctl, perfd) |
| unix_socket_send(appdomain, mpctl, mpdecision) |
| unix_socket_connect(appdomain, mpctl, mpdecision) |