1type init-camera-set-interrupts-ownership, domain;
2type init-camera-set-interrupts-ownership_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(init-camera-set-interrupts-ownership)
5
6allow init-camera-set-interrupts-ownership vendor_toolbox_exec:file rx_file_perms;
7allow init-camera-set-interrupts-ownership proc_interrupts:file r_file_perms;
8allow init-camera-set-interrupts-ownership proc_irq:dir r_dir_perms;
9allow init-camera-set-interrupts-ownership proc_irq:file { r_file_perms setattr };
10allow init-camera-set-interrupts-ownership self:capability { chown setuid setgid };
11