25 lines
370 B
Plaintext
25 lines
370 B
Plaintext
|
|
policy_module(java,1.1.0)
|
|
|
|
########################################
|
|
#
|
|
# Declarations
|
|
#
|
|
|
|
type java_t;
|
|
domain_type(java_t)
|
|
|
|
type java_exec_t;
|
|
files_type(java_exec_t)
|
|
|
|
########################################
|
|
#
|
|
# Local policy
|
|
#
|
|
|
|
ifdef(`targeted_policy',`
|
|
allow java_t self:process { execstack execmem };
|
|
unconfined_domain_noaudit(java_t)
|
|
role system_r types java_t;
|
|
')
|