From: bigon@debian.org (Laurent Bigonville) Date: Fri, 11 Apr 2014 19:27:18 +0200 Subject: [refpolicy] [PATCH 5/5] Add new gnome_spec_domtrans_all_gkeyringd() interface In-Reply-To: <1397237238-16784-1-git-send-email-bigon@debian.org> References: <1397237238-16784-1-git-send-email-bigon@debian.org> Message-ID: <1397237238-16784-5-git-send-email-bigon@debian.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com From: Laurent Bigonville Allow the caller to transition to all the gkeyringd domains --- gnome.if | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnome.if b/gnome.if index 112d33b..118ee01 100644 --- a/gnome.if +++ b/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. ## -- 1.9.2