Skip to contentSkip to conversation

gpg needs to be able to create its keys dir

PATCH Daniel J Walsh 2 participants 2 messages Mar 8, 2007 – Mar 19, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw
policy/modules/apps/gpg.if +1 -0
@@ -89,6 +89,7 @@
 
 	manage_files_pattern($1_gpg_t,$1_gpg_secret_t,$1_gpg_secret_t)
 	manage_lnk_files_pattern($1_gpg_t,$1_gpg_secret_t,$1_gpg_secret_t)
+ 	userdom_user_home_dir_filetrans($1, $1_gpg_t, $1_gpg_secret_t, dir)
 
 	# transition from the userdomain to the derived domain
 	domtrans_pattern($2,gpg_exec_t,$1_gpg_t)
#1 lore raw

policy/modules/apps/gpg.if line 95

Quoted 12 lines · Daniel J Walsh

plain text document attachment
(nsaserefpolicy_policy_modules_apps_gpg.if)

policy/modules/apps/gpg.if +1 -0
@@ -89,6 +89,7 @@
 
 	manage_files_pattern($1_gpg_t,$1_gpg_secret_t,$1_gpg_secret_t)
 	manage_lnk_files_pattern($1_gpg_t,$1_gpg_secret_t,$1_gpg_secret_t)
+ 	userdom_user_home_dir_filetrans($1, $1_gpg_t, $1_gpg_secret_t, dir)
 
 	# transition from the userdomain to the derived domain
 	domtrans_pattern($2,gpg_exec_t,$1_gpg_t)

Merged. Also added perms so gpg can actually create the dir.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.