rpcraig | 1555c27 | 2012-11-02 06:35:29 -0400 | [diff] [blame] | 1 | ########## |
| 2 | # sensors_config: load calibration files. |
| 3 | ########## |
| 4 | type sensors_config, domain; |
| 5 | type sensors_config_exec, exec_type, file_type; |
| 6 | type sensors_data_file, file_type, data_file_type; |
| 7 | init_daemon_domain(sensors_config) |
| 8 | allow sensors_config self:capability { dac_override chown fowner fsetid }; |
| 9 | allow sensors_config sensors_data_file:dir { create_dir_perms mounton }; |
| 10 | allow sensors_config sensors_data_file:file create_file_perms; |
| 11 | allow sensors_config shell_exec:file rx_file_perms; |