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 DE532138247 for ; Sat, 30 Nov 2013 15:05:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC5D5E0A49; Sat, 30 Nov 2013 15:05:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2E4FE0A01 for ; Sat, 30 Nov 2013 15:05:14 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B62133F406 for ; Sat, 30 Nov 2013 15:05:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E4956E5534 for ; Sat, 30 Nov 2013 15:05:11 +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: <1385823709.996cb21a3c261e9d5617709b05f495284ad5cb66.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/gpg.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 996cb21a3c261e9d5617709b05f495284ad5cb66 X-VCS-Branch: master Date: Sat, 30 Nov 2013 15:05:11 +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: 1b8c1708-b423-4a2a-a6e4-5430467b8a34 X-Archives-Hash: 97e1ec4fe616e46b92bb0b277f9bd1f5 commit: 996cb21a3c261e9d5617709b05f495284ad5cb66 Author: Dan Walsh redhat com> AuthorDate: Mon Nov 25 15:09:29 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sat Nov 30 15:01:49 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=996cb21a Allow gpg_agent to use ssh-add --- policy/modules/contrib/gpg.te | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/policy/modules/contrib/gpg.te b/policy/modules/contrib/gpg.te index a8bad37..36c63b3 100644 --- a/policy/modules/contrib/gpg.te +++ b/policy/modules/contrib/gpg.te @@ -210,7 +210,7 @@ tunable_policy(`use_samba_home_dirs',` # Agent local policy # -allow gpg_agent_t self:process setrlimit; +allow gpg_agent_t self:process { setrlimit signal_perms }; allow gpg_agent_t self:unix_stream_socket { create_stream_socket_perms connectto }; allow gpg_agent_t self:fifo_file rw_fifo_file_perms; @@ -229,7 +229,10 @@ filetrans_pattern(gpg_agent_t, gpg_secret_t, gpg_agent_tmp_t, sock_file, "log-so domtrans_pattern(gpg_agent_t, pinentry_exec_t, gpg_pinentry_t) kernel_dontaudit_search_sysctl(gpg_agent_t) +kernel_read_core_if(gpg_agent_t) +kernel_read_system_state(gpg_agent_t) +corecmd_exec_bin(gpg_agent_t) corecmd_exec_shell(gpg_agent_t) dev_read_rand(gpg_agent_t)