2006-01-12 22:26:46 +00:00
|
|
|
|
2006-08-29 02:41:00 +00:00
|
|
|
policy_module(java,1.1.3)
|
2006-01-12 22:26:46 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2006-02-20 16:31:54 +00:00
|
|
|
type java_t;
|
2006-01-12 22:26:46 +00:00
|
|
|
type java_exec_t;
|
2006-04-17 17:32:54 +00:00
|
|
|
init_system_domain(java_t,java_exec_t)
|
2006-02-20 16:31:54 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Local policy
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef(`targeted_policy',`
|
|
|
|
allow java_t self:process { execstack execmem };
|
|
|
|
unconfined_domain_noaudit(java_t)
|
|
|
|
role system_r types java_t;
|
|
|
|
')
|