From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B1E61396D1 for ; Fri, 15 Sep 2017 03:42:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74FBBE0C5F; Fri, 15 Sep 2017 03:42:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E578E0C5C for ; Fri, 15 Sep 2017 03:42:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A82D33D3CE for ; Fri, 15 Sep 2017 03:42:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A27799082 for ; Fri, 15 Sep 2017 03:42:42 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1505417683.855cc1c93352b29d1e2f7e1f65f9ac91ae49d174.perfinion@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/rkhunter.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 855cc1c93352b29d1e2f7e1f65f9ac91ae49d174 X-VCS-Branch: master Date: Fri, 15 Sep 2017 03:42:42 +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: b12f67ac-d418-4777-a7d6-2ff1c647e260 X-Archives-Hash: b2476fd047489ad982bbc1e3cc5f5289 commit: 855cc1c93352b29d1e2f7e1f65f9ac91ae49d174 Author: Christian Göttsche googlemail com> AuthorDate: Sun Sep 10 15:49:48 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Thu Sep 14 19:34:43 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=855cc1c9 rkhunter: add several missing permission policy/modules/contrib/rkhunter.te | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/rkhunter.te b/policy/modules/contrib/rkhunter.te index 4ebfdf6c..caa1680d 100644 --- a/policy/modules/contrib/rkhunter.te +++ b/policy/modules/contrib/rkhunter.te @@ -35,7 +35,7 @@ files_type(rkhunter_var_lib_t) # Application local policy # -allow rkhunter_t self:capability { dac_override dac_read_search net_admin setgid setuid sys_nice sys_ptrace }; +allow rkhunter_t self:capability { dac_read_search kill net_admin setgid setuid sys_nice sys_ptrace }; allow rkhunter_t self:process { getsched setsched signal }; allow rkhunter_t self:netlink_route_socket r_netlink_socket_perms; allow rkhunter_t self:tcp_socket { bind connect create listen read write }; @@ -68,6 +68,7 @@ corenet_udp_bind_all_ports(rkhunter_t) corenet_tcp_bind_generic_node(rkhunter_t) corenet_udp_bind_generic_node(rkhunter_t) +dev_getattr_fs(rkhunter_t) dev_read_urand(rkhunter_t) dev_getattr_all_chr_files(rkhunter_t) dev_getattr_all_blk_files(rkhunter_t) @@ -76,15 +77,22 @@ domain_read_all_domains_state(rkhunter_t) domain_use_interactive_fds(rkhunter_t) domain_getattr_all_sockets(rkhunter_t) domain_getattr_all_pipes(rkhunter_t) +domain_getpgid_all_domains(rkhunter_t) +domain_getsched_all_domains(rkhunter_t) +domain_getsession_all_domains(rkhunter_t) +domain_signull_all_domains(rkhunter_t) files_read_non_auth_files(rkhunter_t) files_read_all_symlinks(rkhunter_t) files_read_all_chr_files(rkhunter_t) files_getattr_all_pipes(rkhunter_t) files_getattr_all_sockets(rkhunter_t) +files_check_write_lock_dirs(rkhunter_t) +files_check_write_pid_dirs(rkhunter_t) fs_getattr_tracefs(rkhunter_t) fs_getattr_tracefs_dirs(rkhunter_t) +fs_getattr_xattr_fs(rkhunter_t) hostname_exec(rkhunter_t)