1type tqftpserv, domain; 2 3type tqftpserv_exec, exec_type, vendor_file_type, file_type; 4init_daemon_domain(tqftpserv); 5 6allow tqftpserv self:qipcrtr_socket { connect create getattr read setopt write }; 7allow tqftpserv sysfs_remoteproc:dir { open read search }; 8allow tqftpserv sysfs_remoteproc:file { open read }; 9allow tqftpserv tqftpserv_vendor_data_file:dir { add_name create open read search write }; 10allow tqftpserv tqftpserv_vendor_data_file:file { create open write }; 11