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 CEE2C138359 for ; Tue, 13 Oct 2020 03:02:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 646FDE0871; Tue, 13 Oct 2020 03:02:11 +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 113D2E086F for ; Tue, 13 Oct 2020 03:02:11 +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 2C739340AB2 for ; Tue, 13 Oct 2020 03:02:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93B5B3BD for ; Tue, 13 Oct 2020 03:02:06 +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: <1602450880.fa247cca2d228e0eee5cc6c1cbf812a1dfd1adbb.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/systemd.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: fa247cca2d228e0eee5cc6c1cbf812a1dfd1adbb X-VCS-Branch: master Date: Tue, 13 Oct 2020 03:02:06 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5d147d5b-f16c-4e33-b2dd-e71a30700b53 X-Archives-Hash: feaf3ac68d8452d0b9f0c4be1d764948 commit: fa247cca2d228e0eee5cc6c1cbf812a1dfd1adbb Author: Chris PeBenito ieee org> AuthorDate: Fri Oct 9 13:42:31 2020 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Oct 11 21:14:40 2020 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=fa247cca systemd: Move systemd-pstore block up in alphabetical order. No rule change. Signed-off-by: Chris PeBenito ieee.org> Signed-off-by: Jason Zaman gentoo.org> policy/modules/system/systemd.te | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te index b7f25594..7acbc551 100644 --- a/policy/modules/system/systemd.te +++ b/policy/modules/system/systemd.te @@ -1046,6 +1046,29 @@ optional_policy(` ') +######################################### +# +# systemd-pstore local policy +# + +dontaudit systemd_pstore_t self:capability net_admin; + +manage_files_pattern(systemd_pstore_t, systemd_pstore_var_lib_t, systemd_pstore_var_lib_t) + +files_read_etc_files(systemd_pstore_t) +files_search_var_lib(systemd_pstore_t) + +fs_list_pstore_dirs(systemd_pstore_t) +fs_read_pstore_files(systemd_pstore_t) +fs_delete_pstore_files(systemd_pstore_t) + +init_search_run(systemd_pstore_t) +init_list_var_lib_dirs(systemd_pstore_t) + +kernel_read_system_state(systemd_pstore_t) + +logging_send_syslog_msg(systemd_pstore_t) + ####################################### # # Rfkill local policy @@ -1428,26 +1451,3 @@ userdom_mounton_user_runtime_dirs(systemd_user_runtime_dir_t) userdom_relabelto_user_runtime_dirs(systemd_user_runtime_dir_t) dbus_system_bus_client(systemd_user_runtime_dir_t) - -######################################### -# -# systemd-pstore local policy -# - -dontaudit systemd_pstore_t self:capability net_admin; - -manage_files_pattern(systemd_pstore_t, systemd_pstore_var_lib_t, systemd_pstore_var_lib_t) - -files_read_etc_files(systemd_pstore_t) -files_search_var_lib(systemd_pstore_t) - -fs_list_pstore_dirs(systemd_pstore_t) -fs_read_pstore_files(systemd_pstore_t) -fs_delete_pstore_files(systemd_pstore_t) - -init_search_run(systemd_pstore_t) -init_list_var_lib_dirs(systemd_pstore_t) - -kernel_read_system_state(systemd_pstore_t) - -logging_send_syslog_msg(systemd_pstore_t)