Merge pull request #730 from gtrentalancia/gpg_fixes2_pr

Modify the gpg module so that gpg and the gpg_agent
This commit is contained in:
Chris PeBenito 2023-11-14 11:04:40 -05:00 committed by GitHub
commit 0b148c02b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,7 @@ allow gpg_t self:unix_stream_socket create_stream_socket_perms;
manage_dirs_pattern(gpg_t, gpg_runtime_t, gpg_runtime_t)
userdom_user_runtime_filetrans(gpg_t, gpg_runtime_t, dir, "gnupg")
manage_sock_files_pattern(gpg_t, gpg_runtime_t, gpg_runtime_t)
manage_dirs_pattern(gpg_t, gpg_agent_tmp_t, gpg_agent_tmp_t)
manage_files_pattern(gpg_t, gpg_agent_tmp_t, gpg_agent_tmp_t)
@ -232,6 +233,7 @@ allow gpg_agent_t gpg_secret_t:dir watch;
manage_dirs_pattern(gpg_agent_t, gpg_runtime_t, gpg_runtime_t)
userdom_user_runtime_filetrans(gpg_agent_t, gpg_runtime_t, dir, "gnupg")
manage_sock_files_pattern(gpg_agent_t, gpg_runtime_t, gpg_runtime_t)
allow gpg_agent_t gpg_runtime_t:dir watch;
manage_dirs_pattern(gpg_agent_t, gpg_agent_tmp_t, gpg_agent_tmp_t)