diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-01-10 22:15:22 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-01-10 22:15:22 +0100 |
commit | 564cb0a1b855281c36c8cb84c17e53321a7d913f (patch) | |
tree | 4c5a31579e5486f23a39ab1dbcfdba9f2a8f6472 | |
parent | 735df82261e3b5898a4ddad24226ee03955d2b75 (diff) | |
download | device_samsung_galaxys2-common-564cb0a1b855281c36c8cb84c17e53321a7d913f.zip device_samsung_galaxys2-common-564cb0a1b855281c36c8cb84c17e53321a7d913f.tar.gz device_samsung_galaxys2-common-564cb0a1b855281c36c8cb84c17e53321a7d913f.tar.bz2 |
selinux: give rild the necessary permissions
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | selinux/rild.te | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/selinux/rild.te b/selinux/rild.te index 5b24906..bec55dc 100644 --- a/selinux/rild.te +++ b/selinux/rild.te @@ -1,5 +1,7 @@ allow rild radio_data:dir { search write remove_name getattr add_name setattr }; allow rild radio_data:file { write getattr setattr read create unlink open }; allow rild system_file:file execmod; -allow rild efs_block_device:blk_file read; -allow rild efs_device_file:dir search; +allow rild efs_block_device:blk_file rw_file_perms; +allow rild efs_device_file:dir create_dir_perms; +allow rild efs_device_file:file { setattr create create_file_perms }; +allow rild sysfs_radio:file { read write open }; |