Amit Pundir | d477f82 | 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 }; |
Amit Pundir | a1004be | 2020-04-15 17:27:21 +0530 | [diff] [blame] | 11 | allow rmtfs sysfs_mss:dir { open read search }; |
| 12 | allow rmtfs sysfs_remoteproc:dir { open read search }; |
| 13 | allow rmtfs sysfs_remoteproc:file { open write }; |
Amit Pundir | 94ccdd9 | 2024-02-20 17:50:31 +0530 | [diff] [blame] | 14 | allow rmtfs sysfs_remoteproc:file read; |
Amit Pundir | a1004be | 2020-04-15 17:27:21 +0530 | [diff] [blame] | 15 | allow rmtfs sysfs_rmtfs:dir search; |
| 16 | allow rmtfs sysfs_rmtfs:file { open read }; |