1 2 3 4 5 6 7 8 9
# orientationd type orientationd, domain; type orientationd_exec, exec_type, file_type; init_daemon_domain(orientationd) allow orientationd input_device:chr_file { read write open ioctl }; allow orientationd input_device:dir { search read open }; allow orientationd self:process { execmem };