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 450FD13838B for ; Sat, 13 Sep 2014 09:38:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFE7FE0843; Sat, 13 Sep 2014 09:38:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1ED0E083E for ; Sat, 13 Sep 2014 09:38:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13545340194 for ; Sat, 13 Sep 2014 09:38:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C4F36558D for ; Sat, 13 Sep 2014 09:38:34 +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: <1410599810.d46331160bf316a8b836c7730177b046599f6dd2.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/loadkeys.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: d46331160bf316a8b836c7730177b046599f6dd2 X-VCS-Branch: master Date: Sat, 13 Sep 2014 09:38:34 +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: b18e465c-5ee0-4853-b65c-2d3de4fe5b0b X-Archives-Hash: 7f9fdf7cadeca2e84a09b590bafabf00 commit: d46331160bf316a8b836c7730177b046599f6dd2 Author: Nicolas Iooss m4x org> AuthorDate: Sun Sep 7 21:32:21 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sat Sep 13 09:16:50 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=d4633116 Allow loadkeys to read usr_t files loadeys loads a keymap from files in /usr. Debian console-data package installs keymaps in /usr/share/keymaps [1]. Arch Linux kbd package installs keymaps in /usr/share/kbd/keymaps [2]. [1] https://packages.debian.org/sid/all/console-data/filelist [2] https://www.archlinux.org/packages/core/x86_64/kbd/files/ --- policy/modules/contrib/loadkeys.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/contrib/loadkeys.te b/policy/modules/contrib/loadkeys.te index d2f4643..72ba702 100644 --- a/policy/modules/contrib/loadkeys.te +++ b/policy/modules/contrib/loadkeys.te @@ -27,6 +27,8 @@ corecmd_exec_shell(loadkeys_t) files_read_etc_files(loadkeys_t) files_read_etc_runtime_files(loadkeys_t) +# keymap files are in /usr/share/keymaps or /usr/share/kbd/keymaps +files_read_usr_files(loadkeys_t) term_dontaudit_use_console(loadkeys_t) term_use_unallocated_ttys(loadkeys_t)