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 13D6D1396D0 for ; Sat, 9 Sep 2017 02:43:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DC381FC0AD; Sat, 9 Sep 2017 02:43:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F14001FC0AD for ; Sat, 9 Sep 2017 02:43:02 +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 03D413417DD for ; Sat, 9 Sep 2017 02:43:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AAC9907A for ; Sat, 9 Sep 2017 02:43: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: <1504910390.5c027610b5a5091d5cb2ae20cf2ed62177128253.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/terminal.te X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 5c027610b5a5091d5cb2ae20cf2ed62177128253 X-VCS-Branch: master Date: Sat, 9 Sep 2017 02:43: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: c86d16fb-0222-43f7-a0bc-00853208126e X-Archives-Hash: 050714f1478c8722e566415859dc4704 commit: 5c027610b5a5091d5cb2ae20cf2ed62177128253 Author: Nicolas Iooss via refpolicy oss tresys com> AuthorDate: Sat Aug 12 08:34:59 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Sep 8 22:39:50 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=5c027610 terminal: /dev/pts exists in /dev filesystem systemd tries to create /dev/pts directly with its context type "devpts_t", but this is not allowed: avc: denied { associate } for pid=1 comm="systemd" name="pts" scontext=system_u:object_r:devpts_t tcontext=system_u:object_r:device_t tclass=filesystem permissive=1 policy/modules/kernel/terminal.te | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/modules/kernel/terminal.te b/policy/modules/kernel/terminal.te index f71fda4b..ff9ee502 100644 --- a/policy/modules/kernel/terminal.te +++ b/policy/modules/kernel/terminal.te @@ -25,6 +25,7 @@ dev_node(console_device_t) # the type of the root directory of the file system. # type devpts_t; +dev_associate(devpts_t) files_mountpoint(devpts_t) fs_associate_tmpfs(devpts_t) fs_xattr_type(devpts_t)