# orientationd
type orientationd, domain;
type orientationd_exec, exec_type, file_type;
init_daemon_domain(orientationd)
# the sensor is an input device
allow orientationd input_device:chr_file rw_file_perms;
allow orientationd input_device:dir r_dir_perms;