2006-03-09 20:28:51 +00:00
|
|
|
|
2007-07-19 18:57:48 +00:00
|
|
|
policy_module(mplayer,1.2.1)
|
2006-03-09 20:28:51 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2007-03-26 18:41:45 +00:00
|
|
|
ifdef(`strict_policy',`
|
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow mplayer executable stack
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_mplayer_execstack,false)
|
|
|
|
')
|
|
|
|
|
2006-03-09 20:28:51 +00:00
|
|
|
type mplayer_etc_t;
|
|
|
|
files_config_file(mplayer_etc_t)
|
2006-10-18 17:31:14 +00:00
|
|
|
|
|
|
|
ifdef(`strict_policy',`
|
|
|
|
type mencoder_exec_t;
|
2007-07-19 18:57:48 +00:00
|
|
|
application_executable_file(mencoder_exec_t)
|
2006-10-18 17:31:14 +00:00
|
|
|
|
|
|
|
type mplayer_exec_t;
|
2007-07-19 18:57:48 +00:00
|
|
|
application_executable_file(mplayer_exec_t)
|
2006-10-18 17:31:14 +00:00
|
|
|
')
|
|
|
|
|
|
|
|
ifdef(`targeted_policy',`
|
|
|
|
unconfined_execmem_alias_program(mencoder_exec_t)
|
|
|
|
unconfined_execmem_alias_program(mplayer_exec_t)
|
|
|
|
')
|