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 BA5B0138206 for ; Thu, 18 Jan 2018 16:15:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EE1EE08D9; Thu, 18 Jan 2018 16:15:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1A3FAE08E0 for ; Thu, 18 Jan 2018 16:15:46 +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 A15FD335C3A for ; Thu, 18 Jan 2018 16:15:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B57C31C4 for ; Thu, 18 Jan 2018 16:15:41 +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: <1513227322.cdfafeaeac734530e89e329dccf9ca03840e0b62.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/userdomain.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: cdfafeaeac734530e89e329dccf9ca03840e0b62 X-VCS-Branch: swift Date: Thu, 18 Jan 2018 16:15:41 +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: 9b5de0d0-950e-476b-9af9-cf0f545440a7 X-Archives-Hash: ce4c3ba6ff8ade2f6bfac5c6aa3e8c8d commit: cdfafeaeac734530e89e329dccf9ca03840e0b62 Author: Jason Zaman perfinion com> AuthorDate: Wed Dec 13 18:15:35 2017 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Dec 14 04:55:22 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=cdfafeae userdomain: Allow public content access All are allowed read access to readonly files. unpriv and admin users are allowed rw access to public rw files. policy/modules/system/userdomain.if | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index 696983f1..0d4fa8e4 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -894,6 +894,7 @@ template(`userdom_login_user_template', ` miscfiles_read_man_pages($1_t) # map is needed for man-dbs apropos program miscfiles_map_man_cache($1_t) + miscfiles_read_public_files($1_t) # for running TeX programs miscfiles_read_tetex_data($1_t) miscfiles_exec_tetex_data($1_t) @@ -1093,6 +1094,8 @@ template(`userdom_unpriv_user_template', ` files_exec_usr_files($1_t) + miscfiles_manage_public_files($1_t) + tunable_policy(`user_dmesg',` kernel_read_ring_buffer($1_t) ',`