From 49024476309df1f6f32f34c40e793592687c9f26 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 21 Feb 2023 18:00:13 +0000 Subject: selinux: Define interfaces for libvirt and similar frameworks Services running passt will commonly need to transition to its domain, terminate it, connect and write to its socket. The init_daemon_domain() macro now defines the default transition to the passt_t domain, using the passt_exec_t type. Signed-off-by: Stefano Brivio --- contrib/selinux/passt.te | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/selinux/passt.te') diff --git a/contrib/selinux/passt.te b/contrib/selinux/passt.te index b38304b..1f45fcd 100644 --- a/contrib/selinux/passt.te +++ b/contrib/selinux/passt.te @@ -56,6 +56,7 @@ type passt_t; domain_type(passt_t); type passt_exec_t; files_type(passt_exec_t); +init_daemon_domain(passt_t, passt_exec_t) type passt_log_t; logging_log_file(passt_log_t); type passt_pid_t; -- cgit v1.2.3