selinux-policy/policy/modules/apps/java.te
Chris PeBenito ff943a1b9b Clean up file context regexes in apache and java, from Eamon Walsh:
Some file_contexts regular expressions in refpolicy-strict are causing 
genhomedircon to die; refpolicy is failing to build for me entirely.

The regular expressions seem redundant to me, perhaps I am missing 
something, but the following patch fixes the problems for me.  Please 
review and apply
2007-01-24 17:10:31 +00:00

24 lines
419 B
Plaintext

policy_module(java,1.3.1)
########################################
#
# Declarations
#
type java_t;
type java_exec_t;
init_system_domain(java_t,java_exec_t)
########################################
#
# Local policy
#
ifdef(`targeted_policy',`
# execheap is needed for itanium/BEA jrocket
allow java_t self:process { execstack execmem execheap };
unconfined_domain_noaudit(java_t)
role system_r types java_t;
')