From 08c5c972cf1f6f2683e00802c9afe1607ac06a64 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 22 Sep 2005 14:14:25 +0000 Subject: [PATCH] fix for targeted --- refpolicy/policy/modules/apps/gpg.fc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/refpolicy/policy/modules/apps/gpg.fc b/refpolicy/policy/modules/apps/gpg.fc index bc435de11..481f789b8 100644 --- a/refpolicy/policy/modules/apps/gpg.fc +++ b/refpolicy/policy/modules/apps/gpg.fc @@ -7,4 +7,6 @@ /usr/lib/gnupg/.* -- context_template(system_u:object_r:gpg_exec_t,s0) /usr/lib/gnupg/gpgkeys.* -- context_template(system_u:object_r:gpg_helper_exec_t,s0) +ifdef(`targeted_policy',`',` HOME_DIR/\.gnupg(/.+)? context_template(system_u:object_r:ROLE_gpg_secret_t,s0) +')