create user gpg keys dir patch from dan
This commit is contained in:
parent
93784927ca
commit
4832f0e066
@ -1,3 +1,4 @@
|
|||||||
|
- Patch to allow gpg to create user keys dir.
|
||||||
- Patch to support kvmfs from Dan Walsh.
|
- Patch to support kvmfs from Dan Walsh.
|
||||||
- Patch for misc fixes in sudo from Dan Walsh.
|
- Patch for misc fixes in sudo from Dan Walsh.
|
||||||
- Patch to fix netlabel recvfrom MLS constraint from Paul Moore.
|
- Patch to fix netlabel recvfrom MLS constraint from Paul Moore.
|
||||||
|
@ -89,6 +89,8 @@ template(`gpg_per_role_template',`
|
|||||||
|
|
||||||
manage_files_pattern($1_gpg_t,$1_gpg_secret_t,$1_gpg_secret_t)
|
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)
|
manage_lnk_files_pattern($1_gpg_t,$1_gpg_secret_t,$1_gpg_secret_t)
|
||||||
|
allow $1_gpg_t $1_gpg_secret_t:dir create_dir_perms;
|
||||||
|
userdom_user_home_dir_filetrans($1, $1_gpg_t, $1_gpg_secret_t, dir)
|
||||||
|
|
||||||
# transition from the userdomain to the derived domain
|
# transition from the userdomain to the derived domain
|
||||||
domtrans_pattern($2,gpg_exec_t,$1_gpg_t)
|
domtrans_pattern($2,gpg_exec_t,$1_gpg_t)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(gpg, 1.1.0)
|
policy_module(gpg, 1.1.1)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user