From a99f69fd0e5f9dae0419d6387539ac3d750c4cd7 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Fri, 18 Jun 2010 15:12:33 -0400 Subject: [PATCH] Loadkeys patch from Dan Walsh. Dontaudit leaked sockets --- policy/modules/apps/loadkeys.if | 4 ++++ policy/modules/apps/loadkeys.te | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/policy/modules/apps/loadkeys.if b/policy/modules/apps/loadkeys.if index c56cfa41..215a7d35 100644 --- a/policy/modules/apps/loadkeys.if +++ b/policy/modules/apps/loadkeys.if @@ -17,6 +17,10 @@ interface(`loadkeys_domtrans',` corecmd_search_bin($1) domtrans_pattern($1, loadkeys_exec_t, loadkeys_t) + + ifdef(`hide_broken_symptoms',` + dontaudit loadkeys_t $1:socket_class_set { read write }; + ') ') ######################################## diff --git a/policy/modules/apps/loadkeys.te b/policy/modules/apps/loadkeys.te index 7f2eee08..a076ebb2 100644 --- a/policy/modules/apps/loadkeys.te +++ b/policy/modules/apps/loadkeys.te @@ -1,4 +1,4 @@ -policy_module(loadkeys, 1.7.0) +policy_module(loadkeys, 1.7.1) ######################################## #