Chris PeBenito 0fbfa5
#DESC GPG - Gnu Privacy Guard (PGP replacement)
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
# Authors:  Russell Coker <russell@coker.com.au>
Chris PeBenito 0fbfa5
# X-Debian-Packages: gnupg
Chris PeBenito 0fbfa5
#
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# Type for gpg or pgp executables.
Chris PeBenito 0fbfa5
type gpg_exec_t, file_type, sysadmfile, exec_type;
Chris PeBenito 0fbfa5
type gpg_helper_exec_t, file_type, sysadmfile, exec_type;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
allow sysadm_gpg_t { home_root_t user_home_dir_t }:dir search;
Chris PeBenito 0fbfa5
allow sysadm_gpg_t ptyfile:chr_file rw_file_perms;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# Allow gpg exec stack
Chris PeBenito 0fbfa5
bool allow_gpg_execstack false;
Chris PeBenito 0fbfa5
Chris PeBenito 0fbfa5
# Everything else is in the gpg_domain macro in
Chris PeBenito 0fbfa5
# macros/program/gpg_macros.te.