aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/qcks.te
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-11-29 00:38:19 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-11-29 00:38:19 +0100
commit21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c (patch)
tree82623095b6b3f2b8854c7b2afc44ba85f1950456 /selinux/qcks.te
parent8695117a9279ee2f7c1715ebeaf249c526a1b7bc (diff)
downloaddevice_samsung_i9305-21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c.zip
device_samsung_i9305-21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c.tar.gz
device_samsung_i9305-21ab75dbbec3cc2023ac32e1c31b6eb6288bcd0c.tar.bz2
i9305 : update selinux and fstab to avoid bootloop
Change-Id: Id3b4503f328b4dcc353cec4cf7b8d9d30c4e5e97
Diffstat (limited to 'selinux/qcks.te')
-rw-r--r--selinux/qcks.te10
1 files changed, 3 insertions, 7 deletions
diff --git a/selinux/qcks.te b/selinux/qcks.te
index cb72379..7e8ac4a 100644
--- a/selinux/qcks.te
+++ b/selinux/qcks.te
@@ -6,18 +6,14 @@ domain_trans(init, rootfs, qcks)
allow qcks efsks_exec:file { read getattr open execute execute_no_trans };
allow qcks ks_exec:file { read getattr open execute execute_no_trans };
-allow qcks mmc_block_device:blk_file getattr;
+allow qcks mmc_block_device:blk_file { read open write getattr };
allow qcks radio_device:chr_file { read getattr open ioctl };
allow qcks self:capability setuid;
allow qcks serial_device:chr_file { read write getattr open ioctl };
-allow qcks shell_exec:file execute_no_trans;
allow qcks vfat:file { read getattr open };
-allow qcks mmc_block_device:blk_file { read open };
allow qcks radio_data_file:dir search;
-allow qcks radio_data_file:file { read write getattr open };
-allow qcks radio_data_file:file setattr;
-allow qcks mmc_block_device:blk_file write;
+allow qcks radio_data_file:file { setattr read write getattr open };
allow qcks vfat:dir search;
-allow qcks shell_exec:file { read execute open };
+allow qcks shell_exec:file { execute_no_trans read execute open };
allow qcks radio_device:dir search;
allow qcks unlabeled:dir search;