selinux-policy/refpolicy/policy/modules/apps/gpg.te

28 lines
585 B
Plaintext
Raw Normal View History

2005-05-05 21:40:32 +00:00
policy_module(gpg, 1.0)
########################################
#
# Declarations
#
# Allow gpg exec stack
bool allow_gpg_execstack false;
# Type for gpg or pgp executables.
type gpg_exec_t;
type gpg_helper_exec_t;
2005-06-13 17:35:46 +00:00
files_file_type(gpg_exec_t)
files_file_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-13 17:35:46 +00:00
files_file_type(gpg_agent_exec_t)
2005-05-05 21:40:32 +00:00
# type for the pinentry executable
type pinentry_exec_t;
2005-06-13 17:35:46 +00:00
files_file_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;