From: domg472@gmail.com (Dominick Grift) Date: Mon, 4 Oct 2010 20:23:24 +0200 Subject: [refpolicy] [ patch 12/44] logrotate: search parent. In-Reply-To: <1286216636-28449-1-git-send-email-domg472@gmail.com> References: <1286216636-28449-1-git-send-email-domg472@gmail.com> Message-ID: <1286216636-28449-14-git-send-email-domg472@gmail.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Signed-off-by: Dominick Grift --- :100644 100644 6672183... 9cd6b0b... M policy/modules/admin/logrotate.if policy/modules/admin/logrotate.if | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/policy/modules/admin/logrotate.if b/policy/modules/admin/logrotate.if index 6672183..9cd6b0b 100644 --- a/policy/modules/admin/logrotate.if +++ b/policy/modules/admin/logrotate.if @@ -15,6 +15,7 @@ interface(`logrotate_domtrans',` type logrotate_t, logrotate_exec_t; ') + corecmd_search_bin($1) domtrans_pattern($1, logrotate_exec_t, logrotate_t) ') @@ -59,6 +60,7 @@ interface(`logrotate_exec',` type logrotate_exec_t; ') + corecmd_search_bin($1) can_exec($1, logrotate_exec_t) ') -- 1.7.2.3