Blame policy/modules/apps/java.te
|
Chris PeBenito |
3ffe29 |
|
|
Chris PeBenito |
f7925f |
policy_module(java,1.7.0)
|
|
Chris PeBenito |
3ffe29 |
|
|
Chris PeBenito |
3ffe29 |
########################################
|
|
Chris PeBenito |
3ffe29 |
#
|
|
Chris PeBenito |
3ffe29 |
# Declarations
|
|
Chris PeBenito |
3ffe29 |
#
|
|
Chris PeBenito |
3ffe29 |
|
|
Chris PeBenito |
56e1b3 |
## <desc>
|
|
Chris PeBenito |
56e1b3 |
##
|
|
Chris PeBenito |
56e1b3 |
## Allow java executable stack
|
|
Chris PeBenito |
56e1b3 |
##
|
|
Chris PeBenito |
56e1b3 |
## </desc>
|
|
Chris PeBenito |
56e1b3 |
gen_tunable(allow_java_execstack,false)
|
|
Chris PeBenito |
56e1b3 |
|
|
Chris PeBenito |
46c69c |
type java_t;
|
|
Chris PeBenito |
3ffe29 |
type java_exec_t;
|
|
Chris PeBenito |
cdc86e |
init_system_domain(java_t,java_exec_t)
|
|
Chris PeBenito |
46c69c |
|
|
Chris PeBenito |
46c69c |
########################################
|
|
Chris PeBenito |
46c69c |
#
|
|
Chris PeBenito |
46c69c |
# Local policy
|
|
Chris PeBenito |
46c69c |
#
|
|
Chris PeBenito |
46c69c |
|
|
Chris PeBenito |
350b6a |
# execheap is needed for itanium/BEA jrocket
|
|
Chris PeBenito |
350b6a |
allow java_t self:process { execstack execmem execheap };
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
350b6a |
init_dbus_chat_script(java_t)
|
|
Chris PeBenito |
6b19be |
|
|
Chris PeBenito |
350b6a |
optional_policy(`
|
|
Chris PeBenito |
6b19be |
unconfined_domain_noaudit(java_t)
|
|
Chris PeBenito |
6b19be |
unconfined_dbus_chat(java_t)
|
|
Chris PeBenito |
46c69c |
')
|