Blame refpolicy/policy/modules/apps/java.te
|
Chris PeBenito |
3ffe29 |
|
|
Chris PeBenito |
8cfa5a |
policy_module(java,1.1.1)
|
|
Chris PeBenito |
3ffe29 |
|
|
Chris PeBenito |
3ffe29 |
########################################
|
|
Chris PeBenito |
3ffe29 |
#
|
|
Chris PeBenito |
3ffe29 |
# Declarations
|
|
Chris PeBenito |
3ffe29 |
#
|
|
Chris PeBenito |
3ffe29 |
|
|
Chris PeBenito |
46c69c |
type java_t;
|
|
Chris PeBenito |
46c69c |
domain_type(java_t)
|
|
Chris PeBenito |
46c69c |
|
|
Chris PeBenito |
3ffe29 |
type java_exec_t;
|
|
Chris PeBenito |
3ffe29 |
files_type(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 |
46c69c |
ifdef(`targeted_policy',`
|
|
Chris PeBenito |
46c69c |
allow java_t self:process { execstack execmem };
|
|
Chris PeBenito |
46c69c |
unconfined_domain_noaudit(java_t)
|
|
Chris PeBenito |
46c69c |
role system_r types java_t;
|
|
Chris PeBenito |
46c69c |
')
|