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 6A4C3139695 for ; Sat, 25 Feb 2017 15:00:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E26FBE0D41; Sat, 25 Feb 2017 15:00:02 +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 BA227E0D41 for ; Sat, 25 Feb 2017 14:59:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6E5034112A for ; Sat, 25 Feb 2017 14:59:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E6DE543A for ; Sat, 25 Feb 2017 14:59:39 +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: <1488034253.247f0728c48ca087ecfd18cb21719420248ce0a6.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/samba.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 247f0728c48ca087ecfd18cb21719420248ce0a6 X-VCS-Branch: next Date: Sat, 25 Feb 2017 14:59:39 +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: ab94c08e-39a7-4ea9-8433-7b013ea9556f X-Archives-Hash: a4dc753d443b3f06c637b39282d93290 Message-ID: <20170225145939.bO1_RxnW8aKsOJScRmdjLnzZHNdBPGA8k4xQ4ktb1bw@z> commit: 247f0728c48ca087ecfd18cb21719420248ce0a6 Author: Chris PeBenito ieee org> AuthorDate: Thu Feb 23 23:15:45 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Feb 25 14:50:53 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=247f0728 samba: A few line moves. policy/modules/contrib/samba.te | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/policy/modules/contrib/samba.te b/policy/modules/contrib/samba.te index 6f314b0c..afff38ff 100644 --- a/policy/modules/contrib/samba.te +++ b/policy/modules/contrib/samba.te @@ -381,11 +381,7 @@ auth_domtrans_chk_passwd(smbd_t) auth_domtrans_upd_passwd(smbd_t) auth_manage_cache(smbd_t) auth_write_login_records(smbd_t) - auth_can_read_shadow_passwords(smbd_t) -tunable_policy(`samba_read_shadow',` - auth_tunable_read_shadow(smbd_t) -') init_rw_utmp(smbd_t) @@ -446,6 +442,10 @@ tunable_policy(`samba_portmapper',` corenet_tcp_sendrecv_all_ports(smbd_t) ') +tunable_policy(`samba_read_shadow',` + auth_tunable_read_shadow(smbd_t) +') + tunable_policy(`samba_share_nfs',` fs_manage_nfs_dirs(smbd_t) fs_manage_nfs_files(smbd_t) @@ -560,6 +560,8 @@ kernel_read_network_state(nmbd_t) kernel_read_software_raid_state(nmbd_t) kernel_read_system_state(nmbd_t) +corecmd_search_bin(nmbd_t) + corenet_all_recvfrom_unlabeled(nmbd_t) corenet_all_recvfrom_netlabel(nmbd_t) corenet_tcp_sendrecv_generic_if(nmbd_t) @@ -576,7 +578,6 @@ corenet_sendrecv_smbd_client_packets(nmbd_t) corenet_tcp_connect_smbd_port(nmbd_t) corenet_tcp_sendrecv_smbd_port(nmbd_t) -corecmd_search_bin(nmbd_t) dev_read_urand(nmbd_t) dev_read_sysfs(nmbd_t) dev_getattr_mtrr_dev(nmbd_t)