28 lines
482 B
Plaintext
28 lines
482 B
Plaintext
|
|
policy_module(java,1.3.3)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
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)
|
|
')
|