From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB3C71381F3 for ; Mon, 17 Dec 2012 09:48:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 728EE21C0E3; Mon, 17 Dec 2012 09:46:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 993FE21C0E3 for ; Mon, 17 Dec 2012 09:46:31 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9BD3233DB64 for ; Mon, 17 Dec 2012 09:46:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 18FE6E544D for ; Mon, 17 Dec 2012 09:46:28 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1355737452.06d9c4e2238b0a0cf9422cf5a1d16e85e9f0f597.SwifT@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/corosync.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 06d9c4e2238b0a0cf9422cf5a1d16e85e9f0f597 X-VCS-Branch: master Date: Mon, 17 Dec 2012 09:46:28 +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: 54ed7060-454a-464b-88ca-71664f1dd71c X-Archives-Hash: 60078f5ee7520e559ce5ac0d86d63630 commit: 06d9c4e2238b0a0cf9422cf5a1d16e85e9f0f597 Author: Dominick Grift gmail com> AuthorDate: Fri Dec 14 09:05:42 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Mon Dec 17 09:44:12 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=06d9c4e2 Changes to the corosync policy module Ported from Fedora Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/corosync.te | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/policy/modules/contrib/corosync.te b/policy/modules/contrib/corosync.te index 78a58fa..93a7c65 100644 --- a/policy/modules/contrib/corosync.te +++ b/policy/modules/contrib/corosync.te @@ -1,4 +1,4 @@ -policy_module(corosync, 1.0.4) +policy_module(corosync, 1.0.6) ######################################## # @@ -33,7 +33,7 @@ files_pid_file(corosync_var_run_t) # Local policy # -allow corosync_t self:capability { dac_override setuid setgid sys_nice sys_admin sys_resource ipc_lock }; +allow corosync_t self:capability { dac_override fowner setuid setgid sys_nice sys_admin sys_resource ipc_lock }; # for hearbeat allow corosync_t self:capability { net_raw chown }; allow corosync_t self:process { setpgid setrlimit setsched signal signull }; @@ -70,9 +70,8 @@ files_pid_filetrans(corosync_t, corosync_var_run_t, { file sock_file dir }) can_exec(corosync_t, corosync_exec_t) -kernel_read_net_sysctls(corosync_t) +kernel_read_all_sysctls(corosync_t) kernel_read_network_state(corosync_t) -kernel_read_kernel_sysctls(corosync_t) kernel_read_system_state(corosync_t) corecmd_exec_bin(corosync_t) @@ -88,6 +87,7 @@ corenet_sendrecv_netsupport_server_packets(corosync_t) corenet_udp_bind_netsupport_port(corosync_t) corenet_udp_sendrecv_netsupport_port(corosync_t) +dev_read_sysfs(corosync_t) dev_read_urand(corosync_t) domain_read_all_domains_state(corosync_t)