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 DAE0813873B for ; Tue, 4 Mar 2014 15:30:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 031F0E0BB6; Tue, 4 Mar 2014 15:30:51 +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 2C901E0BB6 for ; Tue, 4 Mar 2014 15:30:50 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5637633FAD6 for ; Tue, 4 Mar 2014 15:30:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 210AB188ED for ; Tue, 4 Mar 2014 15:30:48 +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: <1393946928.78d4bf98ca3ffc9ec4447a9bace3c8683f3174f4.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/screen.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 78d4bf98ca3ffc9ec4447a9bace3c8683f3174f4 X-VCS-Branch: master Date: Tue, 4 Mar 2014 15:30:48 +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: ce947b43-bd70-458a-9f21-a2baf4fb1e87 X-Archives-Hash: 30e2b0502b8f46e00cf1a2fc478cc7ee commit: 78d4bf98ca3ffc9ec4447a9bace3c8683f3174f4 Author: Luis Ressel aixah de> AuthorDate: Sun Feb 16 14:18:14 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Mar 4 15:28:48 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=78d4bf98 Dontaudit screen asking for the sys_tty_config capability This avc shows up when using screen as root, however screen seems to work fine without that permission. --- policy/modules/contrib/screen.if | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/contrib/screen.if b/policy/modules/contrib/screen.if index be5cce2..08c8978 100644 --- a/policy/modules/contrib/screen.if +++ b/policy/modules/contrib/screen.if @@ -54,6 +54,8 @@ template(`screen_role_template',` dontaudit $3 $1_screen_t:unix_stream_socket { read write }; allow $1_screen_t $3:process signal; + dontaudit $1_screen_t self:capability sys_tty_config; + allow $3 screen_tmp_t:dir { manage_dir_perms relabel_dir_perms }; allow $3 screen_tmp_t:file { manage_file_perms relabel_file_perms }; allow $3 screen_tmp_t:fifo_file { manage_fifo_file_perms relabel_fifo_file_perms };