From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Wed, 06 Oct 2010 08:59:28 -0400 Subject: [refpolicy] [ patch 21/44] rpm: search parent. In-Reply-To: <1286216636-28449-23-git-send-email-domg472@gmail.com> References: <1286216636-28449-1-git-send-email-domg472@gmail.com> <1286216636-28449-23-git-send-email-domg472@gmail.com> Message-ID: <4CAC72B0.5090205@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 10/04/10 14:23, Dominick Grift wrote: > > Signed-off-by: Dominick Grift Merged. > :100644 100644 56397a4... d33daa8... M policy/modules/admin/rpm.if > policy/modules/admin/rpm.if | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/policy/modules/admin/rpm.if b/policy/modules/admin/rpm.if > index 56397a4..d33daa8 100644 > --- a/policy/modules/admin/rpm.if > +++ b/policy/modules/admin/rpm.if > @@ -257,6 +257,7 @@ interface(`rpm_search_log',` > type rpm_log_t; > ') > > + logging_search_logs($1) > allow $1 rpm_log_t:dir search_dir_perms; > ') > > @@ -392,6 +393,7 @@ interface(`rpm_read_script_tmp_files',` > type rpm_script_tmp_t; > ') > > + files_search_tmp($1) > read_files_pattern($1, rpm_script_tmp_t, rpm_script_tmp_t) > read_lnk_files_pattern($1, rpm_script_tmp_t, rpm_script_tmp_t) > ') > @@ -474,6 +476,7 @@ interface(`rpm_delete_db',` > type rpm_var_lib_t; > ') > > + files_search_var_lib($1) > delete_files_pattern($1, rpm_var_lib_t, rpm_var_lib_t) > ') > -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com