2006-01-12 22:26:46 +00:00
|
|
|
|
2007-12-14 14:23:18 +00:00
|
|
|
policy_module(java,1.7.0)
|
2006-01-12 22:26:46 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2007-03-26 18:41:45 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow java executable stack
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_java_execstack,false)
|
|
|
|
|
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
|
|
|
|
#
|
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
# execheap is needed for itanium/BEA jrocket
|
|
|
|
allow java_t self:process { execstack execmem execheap };
|
2007-02-16 23:01:42 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
init_dbus_chat_script(java_t)
|
2007-02-16 23:01:42 +00:00
|
|
|
|
2007-10-02 16:04:50 +00:00
|
|
|
optional_policy(`
|
2007-02-16 23:01:42 +00:00
|
|
|
unconfined_domain_noaudit(java_t)
|
|
|
|
unconfined_dbus_chat(java_t)
|
2006-02-20 16:31:54 +00:00
|
|
|
')
|