Skip to content
Snippets Groups Projects
Commit 72a47459 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Confine tee, but leave it permissive for now.


Change-Id: Id69b1fe80746429a550448b9168ac7e86c38aa9f
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 91ebcf33
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,14 @@ ...@@ -2,9 +2,14 @@
# trusted execution environment (tee) daemon # trusted execution environment (tee) daemon
# #
type tee, domain; type tee, domain;
permissive tee;
type tee_exec, exec_type, file_type; type tee_exec, exec_type, file_type;
type tee_device, dev_type; type tee_device, dev_type;
type tee_data_file, file_type, data_file_type; type tee_data_file, file_type, data_file_type;
unconfined_domain(tee)
init_daemon_domain(tee) init_daemon_domain(tee)
allow tee self:capability { dac_override };
allow tee tee_device:chr_file rw_file_perms;
allow tee tee_data_file:dir rw_dir_perms;
allow tee tee_data_file:file create_file_perms;
allow tee self:netlink_socket { create bind read };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment