From 5fd74e0e0c9407306e99ef4fd2e776cb911ee94a Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Tue, 10 Jul 2012 11:50:59 -0400 Subject: Selinux policy for new configuration. Added tomcat_t for java processes. Added aliases for old types to allow compatibility of existng subsystems. Added install scripts for pkispawn and pkidestroy --- base/selinux/src/pki.fc | 125 ++++++++----------------- base/selinux/src/pki.if | 243 +++++++++++------------------------------------- base/selinux/src/pki.te | 119 ++++++------------------ 3 files changed, 119 insertions(+), 368 deletions(-) (limited to 'base/selinux/src') diff --git a/base/selinux/src/pki.fc b/base/selinux/src/pki.fc index 3a22d86a4..fbc086fe0 100644 --- a/base/selinux/src/pki.fc +++ b/base/selinux/src/pki.fc @@ -1,91 +1,40 @@ - -/usr/bin/dtomcat5-pki-ca -- gen_context(system_u:object_r:pki_ca_exec_t,s0) - -/etc/pki-ca(/.*)? gen_context(system_u:object_r:pki_ca_etc_rw_t,s0) -/etc/pki-ca/tomcat5.conf -- gen_context(system_u:object_r:pki_ca_tomcat_exec_t,s0) - -/var/lib/pki-ca(/.*)? gen_context(system_u:object_r:pki_ca_var_lib_t,s0) - -/var/run/pki-ca.pid gen_context(system_u:object_r:pki_ca_var_run_t,s0) - -/var/log/pki-ca(/.*)? gen_context(system_u:object_r:pki_ca_log_t,s0) - -/usr/bin/dtomcat5-pki-kra -- gen_context(system_u:object_r:pki_kra_exec_t,s0) - -/etc/pki-kra(/.*)? gen_context(system_u:object_r:pki_kra_etc_rw_t,s0) -/etc/pki-kra/tomcat5.conf -- gen_context(system_u:object_r:pki_kra_tomcat_exec_t,s0) - -/var/lib/pki-kra(/.*)? gen_context(system_u:object_r:pki_kra_var_lib_t,s0) - -/var/run/pki-kra.pid gen_context(system_u:object_r:pki_kra_var_run_t,s0) - -/var/log/pki-kra(/.*)? gen_context(system_u:object_r:pki_kra_log_t,s0) - -/usr/bin/dtomcat5-pki-ocsp -- gen_context(system_u:object_r:pki_ocsp_exec_t,s0) - -/etc/pki-ocsp(/.*)? gen_context(system_u:object_r:pki_ocsp_etc_rw_t,s0) -/etc/pki-ocsp/tomcat5.conf -- gen_context(system_u:object_r:pki_ocsp_tomcat_exec_t,s0) - -/var/lib/pki-ocsp(/.*)? gen_context(system_u:object_r:pki_ocsp_var_lib_t,s0) - -/var/run/pki-ocsp.pid gen_context(system_u:object_r:pki_ocsp_var_run_t,s0) - -/var/log/pki-ocsp(/.*)? gen_context(system_u:object_r:pki_ocsp_log_t,s0) - -/usr/sbin/httpd.worker -- gen_context(system_u:object_r:pki_ra_exec_t,s0) -/etc/pki-ra(/.*)? gen_context(system_u:object_r:pki_ra_etc_rw_t,s0) -/var/lib/pki-ra(/.*)? gen_context(system_u:object_r:pki_ra_var_lib_t,s0) -/var/log/pki-ra(/.*)? gen_context(system_u:object_r:pki_ra_log_t,s0) - - -/usr/bin/dtomcat5-pki-tks -- gen_context(system_u:object_r:pki_tks_exec_t,s0) - -/etc/pki-tks(/.*)? gen_context(system_u:object_r:pki_tks_etc_rw_t,s0) -/etc/pki-tks/tomcat5.conf -- gen_context(system_u:object_r:pki_tks_tomcat_exec_t,s0) - -/var/lib/pki-tks(/.*)? gen_context(system_u:object_r:pki_tks_var_lib_t,s0) - -/var/run/pki-tks.pid gen_context(system_u:object_r:pki_tks_var_run_t,s0) - -/var/log/pki-tks(/.*)? gen_context(system_u:object_r:pki_tks_log_t,s0) - -/etc/pki-tps(/.*)? gen_context(system_u:object_r:pki_tps_etc_rw_t,s0) -/var/lib/pki-tps(/.*)? gen_context(system_u:object_r:pki_tps_var_lib_t,s0) -/var/log/pki-tps(/.*)? gen_context(system_u:object_r:pki_tps_log_t,s0) +/etc/pki/tomcat(/.*)? gen_context(system_u:object_r:pki_tomcat_etc_rw_t,s0) +/var/lib/pki/tomcat(/.*)? gen_context(system_u:object_r:pki_tomcat_var_lib_t,s0) +/var/run/pki/tomcat(/.*)? gen_context(system_u:object_r:pki_tomcat_var_run_t,s0) +/var/log/pki/tomcat(/.*)? gen_context(system_u:object_r:pki_tomcat_log_t,s0) +/etc/sysconfig/pki/tomcat(/.*)? gen_context(system_u:object_r:pki_tomcat_etc_rw_t,s0) +/var/log/pki gen_context(system_u:object_r:pki_log_t,s0) + +/usr/sbin/httpd.worker -- gen_context(system_u:object_r:pki_ra_exec_t,s0) +/etc/pki-ra(/.*)? gen_context(system_u:object_r:pki_ra_etc_rw_t,s0) +/var/lib/pki-ra(/.*)? gen_context(system_u:object_r:pki_ra_var_lib_t,s0) +/var/log/pki-ra(/.*)? gen_context(system_u:object_r:pki_ra_log_t,s0) +/var/run/pki/ra(/.*)? gen_context(system_u:object_r:pki_ra_var_run_t,s0) +/etc/sysconfig/pki/ra(/.*)? gen_context(system_u:object_r:pki_ra_etc_rw_t,s0) + +/etc/pki-tps(/.*)? gen_context(system_u:object_r:pki_tps_etc_rw_t,s0) +/var/lib/pki-tps(/.*)? gen_context(system_u:object_r:pki_tps_var_lib_t,s0) +/var/log/pki-tps(/.*)? gen_context(system_u:object_r:pki_tps_log_t,s0) +/var/run/pki/tps(/.*)? gen_context(system_u:object_r:pki_tps_var_run_t,s0) +/etc/sysconfig/pki/tps(/.*)? gen_context(system_u:object_r:pki_tps_etc_rw_t,s0) # default labeling for nCipher -/opt/nfast/scripts/init.d/(.*) gen_context(system_u:object_r:initrc_exec_t, s0) -/opt/nfast/sbin/init.d-ncipher gen_context(system_u:object_r:initrc_exec_t, s0) -/opt/nfast(/.*)? gen_context(system_u:object_r:pki_common_t, s0) -/dev/nfast(/.*)? gen_context(system_u:object_r:pki_common_dev_t, s0) - -# labeling for new CA under pki-cad - -/var/run/pki/ca(/.*)? gen_context(system_u:object_r:pki_ca_var_run_t,s0) -/etc/sysconfig/pki/ca(/.*)? gen_context(system_u:object_r:pki_ca_etc_rw_t,s0) - -# labeling for new KRA under pki-krad - -/var/run/pki/kra(/.*)? gen_context(system_u:object_r:pki_kra_var_run_t,s0) -/etc/sysconfig/pki/kra(/.*)? gen_context(system_u:object_r:pki_kra_etc_rw_t,s0) - -# labeling for new OCSP under pki-ocspd - -/var/run/pki/ocsp(/.*)? gen_context(system_u:object_r:pki_ocsp_var_run_t,s0) -/etc/sysconfig/pki/ocsp(/.*)? gen_context(system_u:object_r:pki_ocsp_etc_rw_t,s0) - -# labeling for new TKS under pki-tksd - -/var/run/pki/tks(/.*)? gen_context(system_u:object_r:pki_tks_var_run_t,s0) -/etc/sysconfig/pki/tks(/.*)? gen_context(system_u:object_r:pki_tks_etc_rw_t,s0) - -# labeling for new RA under pki-rad - -/var/run/pki/ra(/.*)? gen_context(system_u:object_r:pki_ra_var_run_t,s0) -/etc/sysconfig/pki/ra(/.*)? gen_context(system_u:object_r:pki_ra_etc_rw_t,s0) - -# labeling for new TPS under pki-tpsd - -/var/run/pki/tps(/.*)? gen_context(system_u:object_r:pki_tps_var_run_t,s0) -/etc/sysconfig/pki/tps(/.*)? gen_context(system_u:object_r:pki_tps_etc_rw_t,s0) +/opt/nfast/scripts/init.d/(.*) gen_context(system_u:object_r:initrc_exec_t, s0) +/opt/nfast/sbin/init.d-ncipher gen_context(system_u:object_r:initrc_exec_t, s0) +/opt/nfast(/.*)? gen_context(system_u:object_r:pki_common_t, s0) +/dev/nfast(/.*)? gen_context(system_u:object_r:pki_common_dev_t, s0) + +# old paths (for migration) +/etc/pki-ca(/.*)? gen_context(system_u:object_r:pki_tomcat_etc_rw_t,s0) +/var/lib/pki-ca(/.*)? gen_context(system_u:object_r:pki_tomcat_var_lib_t,s0) +/var/run/pki-ca.pid gen_context(system_u:object_r:pki_tomcat_var_run_t,s0) +/var/log/pki-ca(/.*)? gen_context(system_u:object_r:pki_tomcat_log_t,s0) +/etc/pki-kra(/.*)? gen_context(system_u:object_r:pki_tomcat_etc_rw_t,s0) +/var/lib/pki-kra(/.*)? gen_context(system_u:object_r:pki_tomcat_var_lib_t,s0) +/var/run/pki-kra.pid gen_context(system_u:object_r:pki_tomcat_var_run_t,s0) +/var/log/pki-kra(/.*)? gen_context(system_u:object_r:pki_tomcat_log_t,s0) +/etc/pki-ocsp(/.*)? gen_context(system_u:object_r:pki_tomcat_etc_rw_t,s0) +/var/lib/pki-ocsp(/.*)? gen_context(system_u:object_r:pki_tomcat_var_lib_t,s0) +/var/run/pki-ocsp.pid gen_context(system_u:object_r:pki_tomcat_var_run_t,s0) +/var/log/pki-ocsp(/.*)? gen_context(system_u:object_r:pki_tomcat_log_t,s0) diff --git a/base/selinux/src/pki.if b/base/selinux/src/pki.if index 0709176ea..b8c521a79 100644 --- a/base/selinux/src/pki.if +++ b/base/selinux/src/pki.if @@ -12,24 +12,26 @@ ## ## # -template(`pki_ca_template',` +template(`pki_tomcat_template',` gen_require(` - attribute pki_ca_process; - attribute pki_ca_config, pki_ca_var_lib, pki_ca_var_run; - attribute pki_ca_executable, pki_ca_script, pki_ca_var_log; - type pki_ca_tomcat_exec_t; + attribute pki_tomcat_process; + attribute pki_tomcat_config, pki_tomcat_var_lib, pki_tomcat_var_run; + attribute pki_tomcat_executable, pki_tomcat_script, pki_tomcat_var_log; + type pki_tomcat_tomcat_exec_t; + type tomcat_exec_t; type $1_port_t; type rpm_var_lib_t; type rpm_exec_t; type setfiles_t; + type load_policy_t; ') ######################################## # # Declarations # - type $1_t, pki_ca_process; - type $1_exec_t, pki_ca_executable; + type $1_t, pki_tomcat_process; + type $1_exec_t, pki_tomcat_executable; domain_type($1_t) init_daemon_domain($1_t, $1_exec_t) @@ -45,16 +47,16 @@ template(`pki_ca_template',` allow $1_t java_exec_t:file entrypoint; allow initrc_t $1_script_t:process transition; - type $1_etc_rw_t, pki_ca_config; + type $1_etc_rw_t, pki_tomcat_config; files_type($1_etc_rw_t) - type $1_var_run_t, pki_ca_var_run; + type $1_var_run_t, pki_tomcat_var_run; files_pid_file($1_var_run_t) - type $1_var_lib_t, pki_ca_var_lib; + type $1_var_lib_t, pki_tomcat_var_lib; files_type($1_var_lib_t) - type $1_log_t, pki_ca_var_log; + type $1_log_t, pki_tomcat_var_log; logging_log_file($1_log_t) ######################################## @@ -195,6 +197,25 @@ template(`pki_ca_template',` # tomcat connects to ephemeral ports on shutdown corenet_tcp_connect_all_unreserved_ports($1_t) + # new tomcat perms for dogtag 10 + allow $1_t pki_tomcat_var_run_t:lnk_file read; + can_exec($1_t, tomcat_exec_t) + consoletype_exec($1_t) + fs_getattr_xattr_fs($1_t) + fs_read_hugetlbfs_files($1_t) + hostname_exec($1_t) + miscfiles_read_hwdata($1_t) + allow $1_t self:capability { setuid chown setgid fowner audit_write dac_override }; + allow $1_t self:netlink_audit_socket { nlmsg_relay create write read}; + kernel_read_kernel_sysctls($1_t) + selinux_get_enforce_mode($1_t) + dirsrv_manage_var_lib($1_t) + + # write to /var/log/pki for spawn and destroy + allow $1_t pki_log_t:dir {getattr search}; + allow load_policy_t pki_log_t:file write; + allow setfiles_t pki_log_t:file write; + optional_policy(` #This is broken in selinux-policy we need java_exec defined, Will add to policy gen_require(` @@ -211,59 +232,7 @@ template(`pki_ca_template',` ######################################## ## ## All of the rules required to administrate -## an pki_ca environment -## -## -## -## Domain allowed access. -## -## -## -## -## The role to be allowed to manage the syslog domain. -## -## -## -## -## The type of the user terminal. -## -## -## -# -interface(`pki_ca_admin',` - gen_require(` - type pki_ca_tomcat_exec_t; - attribute pki_ca_process; - attribute pki_ca_config; - attribute pki_ca_executable; - attribute pki_ca_var_lib; - attribute pki_ca_var_log; - attribute pki_ca_var_run; - attribute pki_ca_pidfiles; - attribute pki_ca_script; - ') - - allow $1 pki_ca_process:process { ptrace signal_perms }; - ps_process_pattern($1, pki_ca_t) - - # Allow pki_ca_t to restart the service - pki_ca_script_domtrans($1) - domain_system_change_exemption($1) - role_transition $2 pki_ca_script system_r; - allow $2 system_r; - - manage_all_pattern($1, pki_ca_config) - manage_all_pattern($1, pki_ca_var_run) - manage_all_pattern($1, pki_ca_var_lib) - manage_all_pattern($1, pki_ca_var_log) - manage_all_pattern($1, pki_ca_config) - manage_all_pattern($1, pki_ca_tomcat_exec_t) -') - -######################################## -## -## All of the rules required to administrate -## an pki_kra environment +## an pki_tomcat environment ## ## ## @@ -282,86 +251,34 @@ interface(`pki_ca_admin',` ## ## # -interface(`pki_kra_admin',` +interface(`pki_tomcat_admin',` gen_require(` - type pki_kra_tomcat_exec_t; - attribute pki_kra_process; - attribute pki_kra_config; - attribute pki_kra_executable; - attribute pki_kra_var_lib; - attribute pki_kra_var_log; - attribute pki_kra_var_run; - attribute pki_kra_pidfiles; - attribute pki_kra_script; + type pki_tomcat_tomcat_exec_t; + attribute pki_tomcat_process; + attribute pki_tomcat_config; + attribute pki_tomcat_executable; + attribute pki_tomcat_var_lib; + attribute pki_tomcat_var_log; + attribute pki_tomcat_var_run; + attribute pki_tomcat_pidfiles; + attribute pki_tomcat_script; ') - allow $1 pki_kra_process:process { ptrace signal_perms }; - ps_process_pattern($1, pki_kra_t) + allow $1 pki_tomcat_process:process { ptrace signal_perms }; + ps_process_pattern($1, pki_tomcat_t) - # Allow pki_kra_t to restart the service - pki_kra_script_domtrans($1) + # Allow pki_tomcat_t to restart the service + pki_tomcat_script_domtrans($1) domain_system_change_exemption($1) - role_transition $2 pki_kra_script system_r; + role_transition $2 pki_tomcat_script system_r; allow $2 system_r; - manage_all_pattern($1, pki_kra_config) - manage_all_pattern($1, pki_kra_var_run) - manage_all_pattern($1, pki_kra_var_lib) - manage_all_pattern($1, pki_kra_var_log) - manage_all_pattern($1, pki_kra_config) - manage_all_pattern($1, pki_kra_tomcat_exec_t) -') - -######################################## -## -## All of the rules required to administrate -## an pki_ocsp environment -## -## -## -## Domain allowed access. -## -## -## -## -## The role to be allowed to manage the syslog domain. -## -## -## -## -## The type of the user terminal. -## -## -## -# -interface(`pki_ocsp_admin',` - gen_require(` - type pki_ocsp_tomcat_exec_t; - attribute pki_ocsp_process; - attribute pki_ocsp_config; - attribute pki_ocsp_executable; - attribute pki_ocsp_var_lib; - attribute pki_ocsp_var_log; - attribute pki_ocsp_var_run; - attribute pki_ocsp_pidfiles; - attribute pki_ocsp_script; - ') - - allow $1 pki_ocsp_process:process { ptrace signal_perms }; - ps_process_pattern($1, pki_ocsp_t) - - # Allow pki_ocsp_t to restart the service - pki_ocsp_script_domtrans($1) - domain_system_change_exemption($1) - role_transition $2 pki_ocsp_script system_r; - allow $2 system_r; - - manage_all_pattern($1, pki_ocsp_config) - manage_all_pattern($1, pki_ocsp_var_run) - manage_all_pattern($1, pki_ocsp_var_lib) - manage_all_pattern($1, pki_ocsp_var_log) - manage_all_pattern($1, pki_ocsp_config) - manage_all_pattern($1, pki_ocsp_tomcat_exec_t) + manage_all_pattern($1, pki_tomcat_config) + manage_all_pattern($1, pki_tomcat_var_run) + manage_all_pattern($1, pki_tomcat_var_lib) + manage_all_pattern($1, pki_tomcat_var_log) + manage_all_pattern($1, pki_tomcat_config) + manage_all_pattern($1, pki_tomcat_tomcat_exec_t) ') ######################################## @@ -624,58 +541,6 @@ interface(`pki_ra_admin',` manage_all_pattern($1, pki_ra_config) ') -######################################## -## -## All of the rules required to administrate -## an pki_tks environment -## -## -## -## Domain allowed access. -## -## -## -## -## The role to be allowed to manage the syslog domain. -## -## -## -## -## The type of the user terminal. -## -## -## -# -interface(`pki_tks_admin',` - gen_require(` - type pki_tks_tomcat_exec_t; - attribute pki_tks_process; - attribute pki_tks_config; - attribute pki_tks_executable; - attribute pki_tks_var_lib; - attribute pki_tks_var_log; - attribute pki_tks_var_run; - attribute pki_tks_pidfiles; - attribute pki_tks_script; - ') - - allow $1 pki_tks_process:process { ptrace signal_perms }; - ps_process_pattern($1, pki_tks_t) - - # Allow pki_tks_t to restart the service - pki_tks_script_domtrans($1) - domain_system_change_exemption($1) - role_transition $2 pki_tks_script system_r; - allow $2 system_r; - - manage_all_pattern($1, pki_tks_config) - manage_all_pattern($1, pki_tks_var_run) - manage_all_pattern($1, pki_tks_var_lib) - manage_all_pattern($1, pki_tks_var_log) - manage_all_pattern($1, pki_tks_config) - manage_all_pattern($1, pki_tks_tomcat_exec_t) -') - ######################################## ## ## Execute pki_tps server in the pki_tps domain. diff --git a/base/selinux/src/pki.te b/base/selinux/src/pki.te index 7f6e65738..a91385ff2 100644 --- a/base/selinux/src/pki.te +++ b/base/selinux/src/pki.te @@ -1,13 +1,16 @@ -policy_module(pki,10.0.2) +policy_module(pki,10.0.5) -attribute pki_ca_config; -attribute pki_ca_executable; -attribute pki_ca_var_lib; -attribute pki_ca_var_log; -attribute pki_ca_var_run; -attribute pki_ca_pidfiles; -attribute pki_ca_script; -attribute pki_ca_process; +attribute pki_tomcat_config; +attribute pki_tomcat_executable; +attribute pki_tomcat_var_lib; +attribute pki_tomcat_var_log; +attribute pki_tomcat_var_run; +attribute pki_tomcat_pidfiles; +attribute pki_tomcat_script; +attribute pki_tomcat_process; + +type pki_log_t; +files_type(pki_log_t) type pki_common_t; files_type(pki_common_t) @@ -15,57 +18,29 @@ files_type(pki_common_t) type pki_common_dev_t; files_type(pki_common_dev_t) -type pki_ca_tomcat_exec_t; -files_type(pki_ca_tomcat_exec_t) +type pki_tomcat_tomcat_exec_t; +files_type(pki_tomcat_tomcat_exec_t) -pki_ca_template(pki_ca) -corenet_tcp_connect_pki_kra_port(pki_ca_t) -corenet_tcp_connect_pki_ocsp_port(pki_ca_t) +type pki_tomcat_port_t; +corenet_port(pki_tomcat_port_t) +pki_tomcat_template(pki_tomcat) # forward proxy -corenet_tcp_connect_pki_ca_port(httpd_t) +# need to define ports to fix this +#corenet_tcp_connect_pki_tomcat_port(httpd_t) # for crl publishing -allow pki_ca_t pki_ca_var_lib_t:lnk_file { rename create unlink }; +allow pki_tomcat_t pki_tomcat_var_lib_t:lnk_file { rename create unlink }; # for ECC -auth_getattr_shadow(pki_ca_t) - -attribute pki_kra_config; -attribute pki_kra_executable; -attribute pki_kra_var_lib; -attribute pki_kra_var_log; -attribute pki_kra_var_run; -attribute pki_kra_pidfiles; -attribute pki_kra_script; -attribute pki_kra_process; - -type pki_kra_tomcat_exec_t; -files_type(pki_kra_tomcat_exec_t) - -pki_ca_template(pki_kra) -corenet_tcp_connect_pki_ca_port(pki_kra_t) - -# forward proxy -corenet_tcp_connect_pki_kra_port(httpd_t) - -attribute pki_ocsp_config; -attribute pki_ocsp_executable; -attribute pki_ocsp_var_lib; -attribute pki_ocsp_var_log; -attribute pki_ocsp_var_run; -attribute pki_ocsp_pidfiles; -attribute pki_ocsp_script; -attribute pki_ocsp_process; - -type pki_ocsp_tomcat_exec_t; -files_type(pki_ocsp_tomcat_exec_t) +auth_getattr_shadow(pki_tomcat_t) -pki_ca_template(pki_ocsp) -corenet_tcp_connect_pki_ca_port(pki_ocsp_t) - -# forward proxy -corenet_tcp_connect_pki_ocsp_port(httpd_t) +# old type aliases for migration +typealias pki_tomcat_t alias { pki_ca_t pki_kra_t pki_ocsp_t pki_tks_t }; +typealias pki_tomcat_etc_rw_t alias { pki_ca_etc_rw_t pki_kra_etc_rw_t pki_ocsp_etc_rw_t pki_tks_etc_rw_t }; +typealias pki_tomcat_var_lib_t alias { pki_ca_var_lib_t pki_kra_var_lib_t pki_ocsp_var_lib_t pki_tks_var_lib_t }; +typealias pki_tomcat_var_run_t alias { pki_ca_var_run_t pki_kra_var_run_t pki_ocsp_var_run_t pki_tks_var_run_t }; +typealias pki_tomcat_log_t alias { pki_ca_log_t pki_kra_log_t pki_ocsp_log_t pki_tks_log_t }; attribute pki_ra_config; attribute pki_ra_executable; @@ -81,26 +56,8 @@ files_type(pki_ra_tomcat_exec_t) pki_ra_template(pki_ra) -attribute pki_tks_config; -attribute pki_tks_executable; -attribute pki_tks_var_lib; -attribute pki_tks_var_log; -attribute pki_tks_var_run; -attribute pki_tks_pidfiles; -attribute pki_tks_script; -attribute pki_tks_process; - -type pki_tks_tomcat_exec_t; -files_type(pki_tks_tomcat_exec_t) - -pki_ca_template(pki_tks) -corenet_tcp_connect_pki_ca_port(pki_tks_t) - -# forward proxy -corenet_tcp_connect_pki_tks_port(httpd_t) - # needed for token enrollment, list /var/cache/tomcat5/temp -files_list_var(pki_tks_t) +files_list_var(pki_tomcat_t) attribute pki_tps_config; attribute pki_tps_executable; @@ -116,26 +73,6 @@ files_type(pki_tps_tomcat_exec_t) pki_tps_template(pki_tps) -#interprocess communication on process shutdown -allow pki_ca_t pki_kra_t:process signull; -allow pki_ca_t pki_ocsp_t:process signull; -allow pki_ca_t pki_tks_t:process signull; - -allow pki_kra_t pki_ca_t:process signull; -allow pki_kra_t pki_ocsp_t:process signull; -allow pki_kra_t pki_tks_t:process signull; - -allow pki_ocsp_t pki_ca_t:process signull; -allow pki_ocsp_t pki_kra_t:process signull; -allow pki_ocsp_t pki_tks_t:process signull; - -allow pki_tks_t pki_ca_t:process signull; -allow pki_tks_t pki_kra_t:process signull; -allow pki_tks_t pki_ocsp_t:process signull; - -#allow httpd_t pki_tks_tomcat_exec_t:process signull; -#allow httpd_t pki_tks_var_lib_t:process signull; - # start up httpd in pki_tps_t mode can_exec(pki_tps_t, httpd_config_t) allow pki_tps_t httpd_exec_t:file entrypoint; -- cgit