selinux-policy/policy/modules/apps/java.te

34 lines
550 B
Plaintext
Raw Normal View History

2006-01-12 22:26:46 +00:00
policy_module(java,1.8.0)
2006-01-12 22:26:46 +00:00
########################################
#
# Declarations
#
## <desc>
## <p>
## Allow java executable stack
## </p>
## </desc>
gen_tunable(allow_java_execstack,false)
type java_t;
2006-01-12 22:26:46 +00:00
type java_exec_t;
init_system_domain(java_t,java_exec_t)
########################################
#
# Local policy
#
# execheap is needed for itanium/BEA jrocket
allow java_t self:process { execstack execmem execheap };
init_dbus_chat_script(java_t)
optional_policy(`
unconfined_domain_noaudit(java_t)
unconfined_dbus_chat(java_t)
')