diff options
author | Alexander Diewald <Diewi@diewald-net.com> | 2017-11-08 22:59:23 +0100 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2019-10-07 11:11:29 +0200 |
commit | e17643d703870a2450b1c6deb264292eb0192402 (patch) | |
tree | 5090504221bc738ea09ab9458b20768943b33805 /sepolicy/ioctl_macros | |
parent | 4f44e51d579532a8fc9d2270f20b8b015d95e02b (diff) |
shinano: Define SEpolicy for adsprpcd.
* Define the ioctls and grant access to the socket.
* Allow access to qseecom socket.
* Label adsprpcd service appropriately.
Change-Id: I4a0ccd322b16c30e7f10dccc1278ed17507d56e2
Signed-off-by: Alexander Diewald <Diewi@diewald-net.com>
Diffstat (limited to 'sepolicy/ioctl_macros')
-rw-r--r-- | sepolicy/ioctl_macros | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sepolicy/ioctl_macros b/sepolicy/ioctl_macros index 99df172..6756faf 100644 --- a/sepolicy/ioctl_macros +++ b/sepolicy/ioctl_macros @@ -5,3 +5,21 @@ TCFLSH TIOCSETD IOCTLUNKNOWN }') + +define(`adsprpcd_ioctls', `{ +ADSP_IOCTL_ENABLE +ADSP_IOCTL_DISABLE +ADSP_IOCTL_DISABLE_ACK +ADSP_IOCTL_WRITE_COMMAND +ADSP_IOCTL_GET_EVENT +ADSP_IOCTL_SET_CLKRATE +ADSP_IOCTL_DISABLE_EVENT_RSP +ADSP_IOCTL_REGISTER_PMEM +ADSP_IOCTL_UNREGISTER_PMEM +ADSP_IOCTL_ABORT_EVENT_READ +ADSP_IOCTL_LINK_TASK +}') + +define(`mlog_qmi_ioctls', `{ +MLOG_QMI_UNKNOWN +}') |