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 158FA138334 for ; Fri, 8 Jun 2018 10:07:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AEC4E0801; Fri, 8 Jun 2018 10:07:28 +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 41FADE0801 for ; Fri, 8 Jun 2018 10:07:28 +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 0CCED335CAB for ; Fri, 8 Jun 2018 10:07:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8325A2C7 for ; Fri, 8 Jun 2018 10:07:25 +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: <1528449661.83621cff0136e3a63561b364715fa636cd8ccdb1.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/sysnetwork.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 83621cff0136e3a63561b364715fa636cd8ccdb1 X-VCS-Branch: master Date: Fri, 8 Jun 2018 10:07:25 +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: 182c6a20-11a3-4b27-8093-ffca85cd7b00 X-Archives-Hash: 288b919afffa77a99336d26532817d21 commit: 83621cff0136e3a63561b364715fa636cd8ccdb1 Author: Chris PeBenito ieee org> AuthorDate: Wed Apr 25 21:33:51 2018 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Jun 8 09:21:01 2018 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=83621cff sysnetwork: Move lines in sysnet_read_config(). policy/modules/system/sysnetwork.if | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if index 693a26c6..f4f17a5d 100644 --- a/policy/modules/system/sysnetwork.if +++ b/policy/modules/system/sysnetwork.if @@ -348,10 +348,6 @@ interface(`sysnet_read_config',` files_search_etc($1) allow $1 net_conf_t:file read_file_perms; - ifdef(`init_systemd',` - systemd_read_resolved_runtime($1) - ') - ifdef(`distro_debian',` files_search_pids($1) allow $1 net_conf_t:dir list_dir_perms; @@ -362,6 +358,10 @@ interface(`sysnet_read_config',` allow $1 net_conf_t:dir list_dir_perms; read_files_pattern($1, net_conf_t, net_conf_t) ') + + ifdef(`init_systemd',` + systemd_read_resolved_runtime($1) + ') ') #######################################