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 2D71A139694 for ; Sun, 30 Apr 2017 14:20:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DBEA21C0B9; Sun, 30 Apr 2017 14:20:10 +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 6D7A021C0B9 for ; Sun, 30 Apr 2017 14:20:10 +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 60C573416A6 for ; Sun, 30 Apr 2017 14:20:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 55203744D for ; Sun, 30 Apr 2017 14:20:00 +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: <1493561864.8a40fd018dd706545beee6585ce3dbdcd9abfe6a.perfinion@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/devicekit.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 8a40fd018dd706545beee6585ce3dbdcd9abfe6a X-VCS-Branch: master Date: Sun, 30 Apr 2017 14:20:00 +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: 9d2aa98d-8f21-4695-917d-2e721d0af31d X-Archives-Hash: 24c1540ccb4bf0ff28b37972f7f6f0d9 commit: 8a40fd018dd706545beee6585ce3dbdcd9abfe6a Author: Chris PeBenito ieee org> AuthorDate: Wed Apr 19 01:21:12 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Apr 30 14:17:44 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=8a40fd01 devicekit, mount, xserver, and selinuxutil from Russell Coker Allow devicekit_power_t to chat to xdm via dbus and log via syslog. Allow mount_t to do more with it's runtime files and stat more filesystem types. Allow xauth to send sigchld to xdm. Allow semanage to search policy_src_t dirs and read /dev/urandom. policy/modules/contrib/devicekit.te | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/devicekit.te b/policy/modules/contrib/devicekit.te index 83e0fabd..d2d3f830 100644 --- a/policy/modules/contrib/devicekit.te +++ b/policy/modules/contrib/devicekit.te @@ -1,4 +1,4 @@ -policy_module(devicekit, 1.6.3) +policy_module(devicekit, 1.6.4) ######################################## # @@ -59,12 +59,17 @@ optional_policy(` udev_read_db(devicekit_t) ') +optional_policy(` + xserver_dbus_chat_xdm(devicekit_power_t) +') + ######################################## # # Disk local policy # allow devicekit_disk_t self:capability { chown dac_override fowner fsetid net_admin setgid setuid sys_admin sys_nice sys_ptrace sys_rawio }; +allow devicekit_disk_t self:capability2 wake_alarm; allow devicekit_disk_t self:process { getsched signal_perms }; allow devicekit_disk_t self:fifo_file rw_fifo_file_perms; allow devicekit_disk_t self:netlink_kobject_uevent_socket create_socket_perms; @@ -263,6 +268,8 @@ init_all_labeled_script_domtrans(devicekit_power_t) init_read_utmp(devicekit_power_t) init_search_run(devicekit_power_t) +logging_send_syslog_msg(devicekit_power_t) + miscfiles_read_localization(devicekit_power_t) sysnet_domtrans_ifconfig(devicekit_power_t)