Add mediawiki from Fedora.
This commit is contained in:
parent
d2defd81e3
commit
ffca31359c
8
policy/modules/apps/mediawiki.fc
Normal file
8
policy/modules/apps/mediawiki.fc
Normal file
@ -0,0 +1,8 @@
|
||||
/usr/lib/mediawiki/math/texvc -- gen_context(system_u:object_r:httpd_mediawiki_script_exec_t,s0)
|
||||
/usr/lib/mediawiki/math/texvc_tex -- gen_context(system_u:object_r:httpd_mediawiki_script_exec_t,s0)
|
||||
/usr/lib/mediawiki/math/texvc_tes -- gen_context(system_u:object_r:httpd_mediawiki_script_exec_t,s0)
|
||||
|
||||
/usr/share/mediawiki(/.*)? gen_context(system_u:object_r:httpd_mediawiki_content_t,s0)
|
||||
|
||||
/var/www/wiki(/.*)? gen_context(system_u:object_r:httpd_mediawiki_rw_content_t,s0)
|
||||
/var/www/wiki/.*\.php -- gen_context(system_u:object_r:httpd_mediawiki_content_t,s0)
|
1
policy/modules/apps/mediawiki.if
Normal file
1
policy/modules/apps/mediawiki.if
Normal file
@ -0,0 +1 @@
|
||||
## <summary>Mediawiki policy</summary>
|
17
policy/modules/apps/mediawiki.te
Normal file
17
policy/modules/apps/mediawiki.te
Normal file
@ -0,0 +1,17 @@
|
||||
policy_module(mediawiki, 1.0.0)
|
||||
|
||||
########################################
|
||||
#
|
||||
# Declarations
|
||||
#
|
||||
|
||||
apache_content_template(mediawiki)
|
||||
|
||||
########################################
|
||||
#
|
||||
# mediawiki local policy
|
||||
#
|
||||
|
||||
files_search_var_lib(httpd_mediawiki_script_t)
|
||||
|
||||
miscfiles_read_tetex_data(httpd_mediawiki_script_t)
|
Loading…
Reference in New Issue
Block a user