1 2 3 4 5 6 7
type orientationd, domain; type orientationd_exec, exec_type, file_type; init_daemon_domain(orientationd) domain_trans(init, rootfs, orientationd) allow orientationd input_device:chr_file { write read ioctl open }; allow orientationd input_device:dir { search read open };