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 7F7E01396D0 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 6FE22E0C5C; Fri, 15 Sep 2017 03:42:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4715AE0C5A for ; Fri, 15 Sep 2017 03:42:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2E02633BEBE 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 8F8349081 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.86cb44cbdb6a3622e09333b6038b0f48d5859e36.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/chkrootkit.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 86cb44cbdb6a3622e09333b6038b0f48d5859e36 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: 0cd9a6a3-bf52-4f74-a23d-2d655062c66e X-Archives-Hash: f9ecf002d2bda8fe3b5b18f565482940 commit: 86cb44cbdb6a3622e09333b6038b0f48d5859e36 Author: Christian Göttsche googlemail com> AuthorDate: Sun Sep 10 15:38:08 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=86cb44cb chkrootkit: update - drop unneeded dac_override permission - add getattr permissions on filesystems policy/modules/contrib/chkrootkit.te | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/chkrootkit.te b/policy/modules/contrib/chkrootkit.te index f62eb493..007b0623 100644 --- a/policy/modules/contrib/chkrootkit.te +++ b/policy/modules/contrib/chkrootkit.te @@ -20,7 +20,7 @@ logging_log_file(chkrootkit_log_t) # Application local policy # -allow chkrootkit_t self:capability { dac_override dac_read_search setuid sys_ptrace }; +allow chkrootkit_t self:capability { dac_read_search setuid sys_ptrace }; allow chkrootkit_t self:fifo_file rw_fifo_file_perms; allow chkrootkit_t self:udp_socket { create ioctl }; @@ -32,6 +32,7 @@ kernel_getattr_message_if(chkrootkit_t) corecmd_exec_bin(chkrootkit_t) corecmd_exec_shell(chkrootkit_t) +dev_getattr_fs(chkrootkit_t) dev_read_rand(chkrootkit_t) dev_read_urand(chkrootkit_t) dev_getattr_all_chr_files(chkrootkit_t) @@ -46,6 +47,8 @@ files_read_all_symlinks(chkrootkit_t) files_read_all_chr_files(chkrootkit_t) files_getattr_all_pipes(chkrootkit_t) +fs_getattr_xattr_fs(chkrootkit_t) + init_signal(chkrootkit_t) logging_send_syslog_msg(chkrootkit_t)