From 3905d41f644a4015e7aa3212875a44a87b03ce0f Mon Sep 17 00:00:00 2001 From: Albert Esteve Date: Thu, 27 Jun 2024 15:48:05 +0200 Subject: [PATCH] selinux: remove ipc-demo file contexts Signed-off-by: Albert Esteve --- qm.fc | 2 -- qm.te | 1 - 2 files changed, 3 deletions(-) diff --git a/qm.fc b/qm.fc index fc5651ae..84f29be8 100644 --- a/qm.fc +++ b/qm.fc @@ -10,6 +10,4 @@ /etc/qm(/.*)? gen_context(system_u:object_r:qm_file_t,s0) # File context for ipc programs -/usr/bin/ipc-demo gen_context(system_u:object_r:ipc_exec_t,s0) -/var/run/ipc-demo(/.*)? gen_context(system_u:object_r:ipc_var_run_t,s0) /var/run/ipc(/.*)? gen_context(system_u:object_r:ipc_var_run_t,s0) diff --git a/qm.te b/qm.te index 280d2834..9ee6bb8a 100644 --- a/qm.te +++ b/qm.te @@ -24,7 +24,6 @@ files_pid_file(ipc_var_run_t) files_mountpoint(ipc_var_run_t) files_pid_filetrans(ipc_t, ipc_var_run_t, { dir file lnk_file sock_file }) -files_pid_filetrans(init_t, ipc_var_run_t, dir, "ipc-demo") files_pid_filetrans(init_t, ipc_var_run_t, dir, "ipc") unconfined_domain(ipc_t)