diff options
Diffstat (limited to 'sepolicy/rmtfs.te')
-rw-r--r-- | sepolicy/rmtfs.te | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sepolicy/rmtfs.te b/sepolicy/rmtfs.te new file mode 100644 index 0000000..7cef38f --- /dev/null +++ b/sepolicy/rmtfs.te @@ -0,0 +1,15 @@ +type rmtfs, domain; +type rmtfs_exec, exec_type, vendor_file_type, file_type; + +init_daemon_domain(rmtfs) + +allow rmtfs block_device:dir search; +allow rmtfs modem_block_device:blk_file { open read }; +allow rmtfs rmtfs_device:chr_file { open read write }; +allow rmtfs self:capability net_admin; +allow rmtfs self:qipcrtr_socket { bind create getattr read setopt write }; +allow rmtfs sysfs_mss:dir { open read search }; +allow rmtfs sysfs_remoteproc:dir { open read search }; +allow rmtfs sysfs_remoteproc:file { open write }; +allow rmtfs sysfs_rmtfs:dir search; +allow rmtfs sysfs_rmtfs:file { open read }; |