blob: 29ce4ca41cbad32edbf8b3ecc234e47e78eebacf [file] [log] [blame]
# Temperature sensor daemon (root process)
type thermald, domain;
type thermald_exec, exec_type, file_type;
# STOPSHIP: Permissive is not allowed. CTS violation!
permissive thermald;
# Started by init
init_daemon_domain(thermald)
allow thermald shared_log_device:chr_file rw_file_perms;
# Access to /dev/msm_thermal_query
allow thermald thermal_engine_device:chr_file rw_file_perms;
# Talk to qmuxd (/dev/socket/qmux_radio)
qmux_socket(thermald)
# Create and access to /dev/socket/thermal-.*
type_transition thermald socket_device:sock_file thermald_socket;
allow thermald socket_device:dir w_dir_perms;
allow thermald thermald_socket:sock_file create_file_perms;