From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F892138AD0 for ; Thu, 29 Jan 2015 20:53:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE685E085E; Thu, 29 Jan 2015 20:53:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42BE2E085C for ; Thu, 29 Jan 2015 20:53:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59DAB34073F for ; Thu, 29 Jan 2015 20:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1562B109D4 for ; Thu, 29 Jan 2015 20:53:07 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1422564666.b2003e0609bea6e44ac8da4c0f2c5580246012e4.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/afs.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: b2003e0609bea6e44ac8da4c0f2c5580246012e4 X-VCS-Branch: master Date: Thu, 29 Jan 2015 20:53:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4ee4fbd8-30f2-4f5b-9d13-f71bcf0ea641 X-Archives-Hash: 54a593ae09d142349e73487530f3e902 commit: b2003e0609bea6e44ac8da4c0f2c5580246012e4 Author: Dominick Grift gmail com> AuthorDate: Mon Jan 5 17:50:03 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Jan 29 20:51:06 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=b2003e06 Redundant rules and afs_files_t is not a filesystem type --- policy/modules/contrib/afs.te | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/policy/modules/contrib/afs.te b/policy/modules/contrib/afs.te index 69067e3..2fb6932 100644 --- a/policy/modules/contrib/afs.te +++ b/policy/modules/contrib/afs.te @@ -1,4 +1,4 @@ -policy_module(afs, 1.9.1) +policy_module(afs, 1.9.2) ######################################## # @@ -74,7 +74,7 @@ role system_r types afs_vlserver_t; allow afs_t self:capability { dac_override sys_admin sys_nice sys_tty_config }; allow afs_t self:process { setsched signal }; -allow afs_t self:fifo_file rw_file_perms; +allow afs_t self:fifo_file rw_fifo_file_perms; allow afs_t self:unix_stream_socket { accept listen }; manage_files_pattern(afs_t, afs_cache_t, afs_cache_t) @@ -153,13 +153,9 @@ allow afs_fsserver_t self:process { setsched signal_perms }; allow afs_fsserver_t self:fifo_file rw_fifo_file_perms; allow afs_fsserver_t self:tcp_socket create_stream_socket_perms; -read_files_pattern(afs_fsserver_t, afs_config_t, afs_config_t) -allow afs_fsserver_t afs_config_t:dir list_dir_perms; - manage_dirs_pattern(afs_fsserver_t, afs_config_t, afs_config_t) manage_files_pattern(afs_fsserver_t, afs_config_t, afs_config_t) -allow afs_fsserver_t afs_files_t:filesystem getattr; manage_dirs_pattern(afs_fsserver_t, afs_files_t, afs_files_t) manage_files_pattern(afs_fsserver_t, afs_files_t, afs_files_t) manage_lnk_files_pattern(afs_fsserver_t, afs_files_t, afs_files_t)