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 4EB941382C5 for ; Mon, 1 Feb 2021 02:10:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7EEB5E09AD; Mon, 1 Feb 2021 02:10: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 647DFE09AB for ; Mon, 1 Feb 2021 02:10:11 +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 11605340EE0 for ; Mon, 1 Feb 2021 02:10:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8D6F64B0 for ; Mon, 1 Feb 2021 02:10:08 +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: <1612142502.fba048b31aa18b9f42c843863cd2e750854c86ce.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/devicekit.te policy/modules/services/jabber.te policy/modules/services/samba.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: fba048b31aa18b9f42c843863cd2e750854c86ce X-VCS-Branch: master Date: Mon, 1 Feb 2021 02:10:08 +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: 673c96c1-8bb9-49a6-a782-7f0be61f37db X-Archives-Hash: 50f23ba3bb045056f1ce39e7d98fff4a commit: fba048b31aa18b9f42c843863cd2e750854c86ce Author: Chris PeBenito ieee org> AuthorDate: Thu Jan 28 15:55:09 2021 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 1 01:21:42 2021 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=fba048b3 devicekit, jabber, samba: Move lines. Signed-off-by: Chris PeBenito ieee.org> Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/devicekit.te | 4 ++-- policy/modules/services/jabber.te | 3 +-- policy/modules/services/samba.te | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/policy/modules/services/devicekit.te b/policy/modules/services/devicekit.te index b69c8113..25f93898 100644 --- a/policy/modules/services/devicekit.te +++ b/policy/modules/services/devicekit.te @@ -131,11 +131,11 @@ fs_mount_all_fs(devicekit_disk_t) fs_unmount_all_fs(devicekit_disk_t) fs_search_all(devicekit_disk_t) -mount_rw_runtime_files(devicekit_disk_t) - mls_file_read_all_levels(devicekit_disk_t) mls_file_write_to_clearance(devicekit_disk_t) +mount_rw_runtime_files(devicekit_disk_t) + storage_raw_read_fixed_disk(devicekit_disk_t) storage_raw_write_fixed_disk(devicekit_disk_t) storage_raw_read_removable_device(devicekit_disk_t) diff --git a/policy/modules/services/jabber.te b/policy/modules/services/jabber.te index 06273d09..30d53a8c 100644 --- a/policy/modules/services/jabber.te +++ b/policy/modules/services/jabber.te @@ -84,6 +84,7 @@ manage_files_pattern(jabberd_t, jabberd_log_t, jabberd_log_t) logging_log_filetrans(jabberd_t, jabberd_log_t, { file dir }) manage_files_pattern(jabberd_domain, jabberd_spool_t, jabberd_spool_t) +files_search_var_lib(jabberd_t) manage_files_pattern(jabberd_t, jabberd_runtime_t, jabberd_runtime_t) files_runtime_filetrans(jabberd_t, jabberd_runtime_t, file) @@ -110,8 +111,6 @@ files_read_etc_runtime_files(jabberd_t) # usr for lua modules files_read_usr_files(jabberd_t) -files_search_var_lib(jabberd_t) - fs_search_auto_mountpoints(jabberd_t) miscfiles_read_generic_tls_privkey(jabberd_t) diff --git a/policy/modules/services/samba.te b/policy/modules/services/samba.te index 40b6684c..10960805 100644 --- a/policy/modules/services/samba.te +++ b/policy/modules/services/samba.te @@ -621,7 +621,6 @@ allow smbcontrol_t self:process { signal signull }; allow smbcontrol_t { winbind_t nmbd_t smbd_t }:process { signal signull }; read_files_pattern(smbcontrol_t, samba_runtime_t, samba_runtime_t) allow smbcontrol_t samba_runtime_t:dir rw_dir_perms; -init_use_fds(smbcontrol_t) manage_files_pattern(smbcontrol_t, samba_var_t, samba_var_t) @@ -638,6 +637,8 @@ files_search_var_lib(smbcontrol_t) term_use_console(smbcontrol_t) +init_use_fds(smbcontrol_t) + miscfiles_read_localization(smbcontrol_t) sysnet_use_ldap(smbcontrol_t)