ff943a1b9b
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
24 lines
419 B
Plaintext
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;
|
|
')
|