selinux-refpolicy/policy/modules/apps/java.te
2007-07-19 18:57:48 +00:00

35 lines
590 B
Plaintext

policy_module(java,1.5.1)
########################################
#
# Declarations
#
## <desc>
## <p>
## Allow java executable stack
## </p>
## </desc>
gen_tunable(allow_java_execstack,false)
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 };
role system_r types java_t;
init_dbus_chat_script(java_t)
unconfined_domain_noaudit(java_t)
unconfined_dbus_chat(java_t)
')