3
0

selinux: give rild the necessary permissions

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
Wolfgang Wiedmeyer 2017-01-10 22:15:22 +01:00
parent 735df82261
commit 564cb0a1b8
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4

View File

@ -1,5 +1,7 @@
allow rild radio_data:dir { search write remove_name getattr add_name setattr }; 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 radio_data:file { write getattr setattr read create unlink open };
allow rild system_file:file execmod; allow rild system_file:file execmod;
allow rild efs_block_device:blk_file read; allow rild efs_block_device:blk_file rw_file_perms;
allow rild efs_device_file:dir search; 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 };