blob: f89504fbc22bf386de8eddbf546d195cafeea0d9 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001type keystore, domain;
2type keystore_exec, exec_type, file_type;
3
4# keystore daemon
5init_daemon_domain(keystore)
Stephen Smalleycdd83f42013-10-29 14:42:37 -04006typeattribute keystore mlstrustedsubject;
7binder_use(keystore)
8binder_service(keystore)
9allow keystore keystore_data_file:dir create_dir_perms;
10allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
11allow keystore keystore_exec:file { getattr };
12allow keystore tee_device:chr_file rw_file_perms;
Nick Kralevichb23d2872014-01-08 11:47:00 -080013allow keystore tee:unix_stream_socket connectto;