From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-955226-garchives=archives.gentoo.org@lists.gentoo.org>
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 4AFB0139694
	for <garchives@archives.gentoo.org>; Tue, 13 Jun 2017 08:25:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B3B2521C1CF;
	Tue, 13 Jun 2017 08:25:45 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 90D3921C1BE
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Jun 2017 08:25: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 9F3513418D5
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Jun 2017 08:25:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EABFC748F
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Jun 2017 08:25:39 +0000 (UTC)
From: "Jason Zaman" <perfinion@gentoo.org>
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" <perfinion@gentoo.org>
Message-ID: <1497341003.c5190f916e9d71de114558b6768c8fd83e38173c.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: c5190f916e9d71de114558b6768c8fd83e38173c
X-VCS-Branch: master
Date: Tue, 13 Jun 2017 08:25:39 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 0fae2704-3856-4028-836f-65ec2e1e2708
X-Archives-Hash: 5cdfc5283217632a12ccac385ec1ff07

commit:     c5190f916e9d71de114558b6768c8fd83e38173c
Author:     Chris PeBenito <pebenito <AT> ieee <DOT> org>
AuthorDate: Thu Jun  8 22:28:50 2017 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Tue Jun 13 08:03:23 2017 +0000
URL:        https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=c5190f91

rkhunter: Fix module version and move lines.

 policy/modules/contrib/rkhunter.te | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/policy/modules/contrib/rkhunter.te b/policy/modules/contrib/rkhunter.te
index a57c826b..4ebfdf6c 100644
--- a/policy/modules/contrib/rkhunter.te
+++ b/policy/modules/contrib/rkhunter.te
@@ -1,4 +1,4 @@
-policy_module(rkhunter, 0.0.1)
+policy_module(rkhunter, 1.0.0)
 
 ########################################
 #
@@ -21,15 +21,15 @@ type rkhunter_exec_t;
 application_domain(rkhunter_t, rkhunter_exec_t)
 role rkhunter_roles types rkhunter_t;
 
-type rkhunter_var_lib_t;
-files_type(rkhunter_var_lib_t)
-
 type rkhunter_log_t;
 logging_log_file(rkhunter_log_t)
 
 type rkhunter_tmpfs_t;
 files_tmpfs_file(rkhunter_tmpfs_t)
 
+type rkhunter_var_lib_t;
+files_type(rkhunter_var_lib_t)
+
 ########################################
 #
 # Application local policy
@@ -77,8 +77,6 @@ domain_use_interactive_fds(rkhunter_t)
 domain_getattr_all_sockets(rkhunter_t)
 domain_getattr_all_pipes(rkhunter_t)
 
-hostname_exec(rkhunter_t)
-
 files_read_non_auth_files(rkhunter_t)
 files_read_all_symlinks(rkhunter_t)
 files_read_all_chr_files(rkhunter_t)
@@ -88,10 +86,12 @@ files_getattr_all_sockets(rkhunter_t)
 fs_getattr_tracefs(rkhunter_t)
 fs_getattr_tracefs_dirs(rkhunter_t)
 
-modutils_exec(rkhunter_t)
+hostname_exec(rkhunter_t)
 
 logging_send_syslog_msg(rkhunter_t)
 
+modutils_exec(rkhunter_t)
+
 sysnet_exec_ifconfig(rkhunter_t)
 
 userdom_use_inherited_user_terminals(rkhunter_t)