aboutsummaryrefslogtreecommitdiffstats
path: root/keystore.te
blob: f89504fbc22bf386de8eddbf546d195cafeea0d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type keystore, domain;
type keystore_exec, exec_type, file_type;

# keystore daemon
init_daemon_domain(keystore)
typeattribute keystore mlstrustedsubject;
binder_use(keystore)
binder_service(keystore)
allow keystore keystore_data_file:dir create_dir_perms;
allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
allow keystore keystore_exec:file { getattr };
allow keystore tee_device:chr_file rw_file_perms;
allow keystore tee:unix_stream_socket connectto;