2005-05-05 21:40:32 +00:00
|
|
|
|
|
|
|
policy_module(gpg, 1.0)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
|
|
|
# Type for gpg or pgp executables.
|
|
|
|
type gpg_exec_t;
|
|
|
|
type gpg_helper_exec_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(gpg_exec_t)
|
|
|
|
files_type(gpg_helper_exec_t)
|
2005-05-05 21:40:32 +00:00
|
|
|
|
|
|
|
# Type for the gpg-agent executable.
|
|
|
|
type gpg_agent_exec_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(gpg_agent_exec_t)
|
2005-05-05 21:40:32 +00:00
|
|
|
|
|
|
|
# type for the pinentry executable
|
|
|
|
type pinentry_exec_t;
|
2005-06-29 14:26:41 +00:00
|
|
|
files_type(pinentry_exec_t)
|
2005-05-05 21:40:32 +00:00
|
|
|
|
|
|
|
#allow sysadm_gpg_t { home_root_t user_home_dir_t }:dir search;
|
|
|
|
#allow sysadm_gpg_t ptyfile:chr_file rw_file_perms;
|