Amit Pundir | 33109f7 | 2020-02-07 22:26:08 +0530 | [diff] [blame^] | 1 | type rmtfs, domain; |
| 2 | type rmtfs_exec, exec_type, vendor_file_type, file_type; |
| 3 | |
| 4 | init_daemon_domain(rmtfs) |
| 5 | |
| 6 | allow rmtfs block_device:dir search; |
| 7 | allow rmtfs modem_block_device:blk_file { open read }; |
| 8 | allow rmtfs rmtfs_device:chr_file { open read write }; |
| 9 | allow rmtfs self:capability net_admin; |
| 10 | allow rmtfs self:qipcrtr_socket { bind create getattr read setopt write }; |
| 11 | allow rmtfs sysfs_rmtfs:dir { open read search}; |
| 12 | allow rmtfs sysfs_rmtfs:file r_file_perms; |
| 13 | allow rmtfs sysfs_rmtfs:file write; |