From 4f7527dde3ea0ea9a687c6fac11efa106b60375b Mon Sep 17 00:00:00 2001 From: Tarun Gupta Date: Mon, 13 Oct 2014 22:54:12 +0530 Subject: sepolicy: add sepolicy for USB UICC daemon warnings related usb_uicc_daemon are fixed Change-Id: I1bdff7f349950ecea1cc6550a39b5589f0e8e789 --- common/usb_uicc_daemon.te | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 common/usb_uicc_daemon.te (limited to 'common/usb_uicc_daemon.te') 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; -- cgit v1.2.3