blob: 323c7e84222ee12ff4fa6f9e34617e8a587fdb80 [file] [log] [blame]
Alex Klyubin304d6532017-04-03 11:05:45 -07001##
2# trusted execution environment (tee) daemon
3#
Sandeep Patil2ee66e72017-04-10 13:03:28 -07004type tee_exec, exec_type, vendor_file_type, file_type;
Alex Klyubin304d6532017-04-03 11:05:45 -07005init_daemon_domain(tee)
6
Benjamin Gordon9b2e0cb2017-11-09 15:51:26 -07007allow tee self:global_capability_class_set { dac_override };
Alex Klyubin304d6532017-04-03 11:05:45 -07008allow tee tee_device:chr_file rw_file_perms;
Ilya Matyukhin93b69492022-04-11 17:32:16 +00009allow tee tee_data_file:dir create_dir_perms;
Alex Klyubin304d6532017-04-03 11:05:45 -070010allow tee tee_data_file:file create_file_perms;
11allow tee self:netlink_socket create_socket_perms_no_ioctl;
12allow tee self:netlink_generic_socket create_socket_perms_no_ioctl;
13allow tee ion_device:chr_file r_file_perms;
14r_dir_file(tee, sysfs_type)
15
Alex Klyubin304d6532017-04-03 11:05:45 -070016allow tee system_data_file:file { getattr read };
Jeff Vander Stoep13c69b82017-11-15 20:15:22 -080017allow tee system_data_file:lnk_file { getattr read };