Chris PeBenito 77b81c
Chris PeBenito d46cfe
policy_module(mplayer,1.2.1)
Chris PeBenito 77b81c
Chris PeBenito 77b81c
########################################
Chris PeBenito 77b81c
#
Chris PeBenito 77b81c
# Declarations
Chris PeBenito 77b81c
#
Chris PeBenito 77b81c
Chris PeBenito 56e1b3
ifdef(`strict_policy',`
Chris PeBenito 56e1b3
## <desc>
Chris PeBenito 56e1b3
## 

Chris PeBenito 56e1b3
## Allow mplayer executable stack
Chris PeBenito 56e1b3
## 

Chris PeBenito 56e1b3
## </desc>
Chris PeBenito 56e1b3
gen_tunable(allow_mplayer_execstack,false)
Chris PeBenito 56e1b3
')
Chris PeBenito 56e1b3
Chris PeBenito 77b81c
type mplayer_etc_t;
Chris PeBenito 77b81c
files_config_file(mplayer_etc_t)
Chris PeBenito b04ecc
Chris PeBenito b04ecc
ifdef(`strict_policy',`
Chris PeBenito b04ecc
	type mencoder_exec_t;
Chris PeBenito d46cfe
	application_executable_file(mencoder_exec_t)
Chris PeBenito b04ecc
Chris PeBenito b04ecc
	type mplayer_exec_t;
Chris PeBenito d46cfe
	application_executable_file(mplayer_exec_t)
Chris PeBenito b04ecc
')
Chris PeBenito b04ecc
Chris PeBenito b04ecc
ifdef(`targeted_policy',`
Chris PeBenito b04ecc
	unconfined_execmem_alias_program(mencoder_exec_t)
Chris PeBenito b04ecc
	unconfined_execmem_alias_program(mplayer_exec_t)
Chris PeBenito b04ecc
')