diff options
author | Tarun Gupta <tarung@codeaurora.org> | 2014-10-13 22:54:12 +0530 |
---|---|---|
committer | Avijit Kanti Das <avijitnsec@codeaurora.org> | 2014-10-22 12:59:06 -0700 |
commit | 4f7527dde3ea0ea9a687c6fac11efa106b60375b (patch) | |
tree | 5b8b2291b6fa8d0217d98e6ae3ba74318cf09bf4 /common/usb_uicc_daemon.te | |
parent | 06bd7d8af256fb84bf8d760cdebf47d632695d17 (diff) | |
download | android_device_qcom_sepolicy-4f7527dde3ea0ea9a687c6fac11efa106b60375b.tar.gz android_device_qcom_sepolicy-4f7527dde3ea0ea9a687c6fac11efa106b60375b.tar.bz2 android_device_qcom_sepolicy-4f7527dde3ea0ea9a687c6fac11efa106b60375b.zip |
sepolicy: add sepolicy for USB UICC daemon
warnings related usb_uicc_daemon are fixed
Change-Id: I1bdff7f349950ecea1cc6550a39b5589f0e8e789
Diffstat (limited to 'common/usb_uicc_daemon.te')
-rw-r--r-- | common/usb_uicc_daemon.te | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/usb_uicc_daemon.te b/common/usb_uicc_daemon.te new file mode 100644 index 00000000..8e90849b --- /dev/null +++ b/common/usb_uicc_daemon.te @@ -0,0 +1,13 @@ +# usb_uicc_daemon +type usb_uicc_daemon, domain; +type usb_uicc_daemon_exec, exec_type, file_type; + +# Make transition from init to its domain +init_daemon_domain(usb_uicc_daemon) + +allow usb_uicc_daemon property_socket:sock_file w_file_perms; +allow usb_uicc_daemon self:socket create_socket_perms; +allow usb_uicc_daemon usb_uicc_device:chr_file rw_file_perms; +allow usb_uicc_daemon uicc_prop:property_service set; +allow usb_uicc_daemon sysfs_usb_uicc:file rw_file_perms; +allow usb_uicc_daemon sysfs_usb_uicc:dir rw_dir_perms; |