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 AC1051393E9 for ; Thu, 17 Apr 2014 19:04:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B81F8E0ADE; Thu, 17 Apr 2014 19:04:33 +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 144E9E0A5F for ; Thu, 17 Apr 2014 19:04:33 +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 35B5834037F for ; Thu, 17 Apr 2014 19:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id EBF6418242 for ; Thu, 17 Apr 2014 19:04:30 +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: <1397761334.0af22df335db344407c0254eae8f278fb0dfc8a4.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/gnome.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 0af22df335db344407c0254eae8f278fb0dfc8a4 X-VCS-Branch: master Date: Thu, 17 Apr 2014 19:04:30 +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: 91c4d1f4-4603-4f3b-8df9-4280f1b493ca X-Archives-Hash: b368aed9b2d2167092a2b9b80b63a4f9 commit: 0af22df335db344407c0254eae8f278fb0dfc8a4 Author: Laurent Bigonville bigon be> AuthorDate: Fri Apr 11 17:27:18 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Thu Apr 17 19:02:14 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=0af22df3 Add new gnome_spec_domtrans_all_gkeyringd() interface Allow the caller to transition to all the gkeyringd domains --- policy/modules/contrib/gnome.if | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/policy/modules/contrib/gnome.if b/policy/modules/contrib/gnome.if index 112d33b..118ee01 100644 --- a/policy/modules/contrib/gnome.if +++ b/policy/modules/contrib/gnome.if @@ -671,6 +671,26 @@ interface(`gnome_dbus_chat_all_gkeyringd',` ######################################## ## +## Run all gkeyringd in gkeyringd domain. +## +## +## +## Domain allowed to transition. +## +## +# +interface(`gnome_spec_domtrans_all_gkeyringd',` + gen_require(` + attribute gkeyringd_domain; + type gkeyringd_exec_t; + ') + + corecmd_search_bin($1) + spec_domtrans_pattern($1, gkeyringd_exec_t, gkeyringd_domain) +') + +######################################## +## ## Connect to gnome keyring daemon ## with a unix stream socket. ##