2005-05-05 21:40:32 +00:00
|
|
|
|
2005-12-09 16:38:39 +00:00
|
|
|
policy_module(gpg, 1.0.0)
|
2005-05-05 21:40:32 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
2005-09-19 21:17:45 +00:00
|
|
|
ifdef(`TODO',`
|
|
|
|
allow sysadm_gpg_t { home_root_t user_home_dir_type }:dir search;
|
|
|
|
allow sysadm_gpg_t ptyfile:chr_file rw_file_perms;
|
|
|
|
')
|