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 580BA139695 for ; Sun, 30 Apr 2017 09:33:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8AD2E0DE9; Sun, 30 Apr 2017 09:33:03 +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 957E8E0DE9 for ; Sun, 30 Apr 2017 09:32:53 +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 BCF8C34169C for ; Sun, 30 Apr 2017 09:32:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1680E744F for ; Sun, 30 Apr 2017 09:32:45 +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: <1493543572.65f2dc9479c12dca474e917434415e1d0fda7ff3.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: 65f2dc9479c12dca474e917434415e1d0fda7ff3 X-VCS-Branch: master Date: Sun, 30 Apr 2017 09:32:45 +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: b32c7f17-0971-46eb-800a-bd931fa0ea0e X-Archives-Hash: 9109638867893a3deba3ff3dfb9cbca1 commit: 65f2dc9479c12dca474e917434415e1d0fda7ff3 Author: Chris PeBenito ieee org> AuthorDate: Wed Apr 19 01:21:12 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Apr 30 09:12:52 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=65f2dc94 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)