Chris PeBenito 3ffe29
Chris PeBenito cdc86e
policy_module(java,1.1.2)
Chris PeBenito 3ffe29
Chris PeBenito 3ffe29
########################################
Chris PeBenito 3ffe29
#
Chris PeBenito 3ffe29
# Declarations
Chris PeBenito 3ffe29
#
Chris PeBenito 3ffe29
Chris PeBenito 46c69c
type java_t;
Chris PeBenito 3ffe29
type java_exec_t;
Chris PeBenito cdc86e
init_system_domain(java_t,java_exec_t)
Chris PeBenito 46c69c
Chris PeBenito 46c69c
########################################
Chris PeBenito 46c69c
#
Chris PeBenito 46c69c
# Local policy
Chris PeBenito 46c69c
#
Chris PeBenito 46c69c
Chris PeBenito 46c69c
ifdef(`targeted_policy',`
Chris PeBenito 46c69c
	allow java_t self:process { execstack execmem };
Chris PeBenito 46c69c
	unconfined_domain_noaudit(java_t)
Chris PeBenito 46c69c
	role system_r types java_t;
Chris PeBenito 46c69c
')