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