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 }; |
Amit Pundir | f6a643c | 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 }; |
Luca Weiss | ae3613f | 2022-03-24 09:17:10 +0100 | [diff] [blame^] | 13 | allow rmtfs sysfs_remoteproc:file { open read write }; |
Amit Pundir | f6a643c | 2020-04-15 17:27:21 +0530 | [diff] [blame] | 14 | allow rmtfs sysfs_rmtfs:dir search; |
| 15 | allow rmtfs sysfs_rmtfs:file { open read }; |