From 4ce796517d80a1877bb2766c8b3403327db745c0 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sun, 11 Aug 2013 18:12:03 +0200 Subject: galaxys2: refine sepolicies Change-Id: Ifa7e56537af87f14a59e5c9b5f254073eea22a8f --- selinux/file_contexts | 5 ----- selinux/rild.te | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'selinux') diff --git a/selinux/file_contexts b/selinux/file_contexts index 36fb414..98fdd8f 100644 --- a/selinux/file_contexts +++ b/selinux/file_contexts @@ -15,11 +15,6 @@ /dev/block/mmcblk0p7 u:object_r:efs_block_device:s0 -/efs/imei/mps_code.dat u:object_r:radio_data_file:s0 -/efs/nv_data.bin u:object_r:radio_data_file:s0 -/efs/nv_data.bin.md5 u:object_r:radio_data_file:s0 -/efs/upgaddr u:object_r:efs_file:s0 - # Bluetooth /dev/ttySAC0 u:object_r:hci_attach_dev:s0 /efs/bluetooth(/.*)? u:object_r:bluetooth_data_file:s0 diff --git a/selinux/rild.te b/selinux/rild.te index 5711ef0..40406e3 100644 --- a/selinux/rild.te +++ b/selinux/rild.te @@ -3,8 +3,5 @@ allow rild self:netlink_route_socket { write }; allow rild self:netlink_kobject_uevent_socket { create bind read write }; allow rild radio_device:chr_file rw_file_perms; - allow rild efs_block_device:blk_file rw_file_perms; - -allow rild radio_data_file:file { read open write setattr }; -allow rild efs_file:file { read open write getattr }; +allow rild efs_file:file { read open write setattr }; -- cgit v1.1