From: jwcart2@tycho.nsa.gov (James Carter) Date: Wed, 11 Apr 2018 14:56:34 -0400 Subject: [refpolicy] [PATCH 04/13] Remove use of undeclared attribute from portage.te In-Reply-To: <20180411185639.23547-1-jwcart2@tycho.nsa.gov> References: <20180411185639.23547-1-jwcart2@tycho.nsa.gov> Message-ID: <20180411185639.23547-5-jwcart2@tycho.nsa.gov> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Removed two dontaudit rules that referred to device_type. This attribute was not declared in policy and its only use was in a TODO ifdef block in portage.te. Signed-off-by: James Carter --- portage.te | 2 -- 1 file changed, 2 deletions(-) diff --git a/portage.te b/portage.te index 48983d9..6c7b379 100644 --- a/portage.te +++ b/portage.te @@ -232,8 +232,6 @@ ifdef(`TODO',` # seems to work ok without these dontaudit portage_t device_t:{ blk_file chr_file } getattr; dontaudit portage_t proc_t:dir setattr_dir_perms; -dontaudit portage_t device_type:chr_file read_chr_file_perms; -dontaudit portage_t device_type:blk_file read_blk_file_perms; ') ########################################## -- 2.13.6