selinux-policy/policy/modules/system/miscfiles.fc

95 lines
3.1 KiB
Plaintext
Raw Normal View History

2006-05-19 13:14:37 +00:00
#
# /emul
#
ifdef(`distro_gentoo',`
/emul/linux/x86/usr/(X11R6/)?lib/X11/locale(/.*)? gen_context(system_u:object_r:locale_t,s0)
')
2005-05-10 19:51:00 +00:00
#
# /etc
#
/etc/avahi/etc/localtime -- gen_context(system_u:object_r:locale_t,s0)
/etc/localtime -- gen_context(system_u:object_r:locale_t,s0)
/etc/timezone -- gen_context(system_u:object_r:locale_t,s0)
/etc/pki(/.*)? gen_context(system_u:object_r:cert_t,s0)
/etc/httpd/alias/[^/]*\.db(\.[^/]*)* -- gen_context(system_u:object_r:cert_t,s0)
2005-05-10 19:51:00 +00:00
ifdef(`distro_redhat',`
/etc/sysconfig/clock -- gen_context(system_u:object_r:locale_t,s0)
')
2005-05-10 19:51:00 +00:00
#
# /opt
#
/opt/(.*/)?man(/.*)? gen_context(system_u:object_r:man_t,s0)
2005-09-16 19:36:10 +00:00
2005-09-27 22:29:45 +00:00
#
# /srv
#
/srv/([^/]*/)?ftp(/.*)? gen_context(system_u:object_r:public_content_t,s0)
/srv/([^/]*/)?rsync(/.*)? gen_context(system_u:object_r:public_content_t,s0)
2005-05-10 19:51:00 +00:00
#
# /usr
#
/usr/lib/locale(/.*)? gen_context(system_u:object_r:locale_t,s0)
2005-05-10 19:51:00 +00:00
/usr/lib(64)?/perl5/man(/.*)? gen_context(system_u:object_r:man_t,s0)
2005-05-10 19:51:00 +00:00
/usr/local/man(/.*)? gen_context(system_u:object_r:man_t,s0)
2009-03-20 13:58:15 +00:00
/usr/local/share/man(/.*)? gen_context(system_u:object_r:man_t,s0)
2005-05-10 19:51:00 +00:00
/usr/local/share/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
2005-05-10 19:51:00 +00:00
/usr/man(/.*)? gen_context(system_u:object_r:man_t,s0)
2005-05-10 19:51:00 +00:00
/usr/share/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
2010-03-09 15:44:55 +00:00
/usr/share/X11/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
/usr/share/ghostscript/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
/usr/share/locale(/.*)? gen_context(system_u:object_r:locale_t,s0)
/usr/share/man(/.*)? gen_context(system_u:object_r:man_t,s0)
/usr/share/X11/locale(/.*)? gen_context(system_u:object_r:locale_t,s0)
/usr/share/zoneinfo(/.*)? gen_context(system_u:object_r:locale_t,s0)
2005-05-10 19:51:00 +00:00
/usr/share/ssl/certs(/.*)? gen_context(system_u:object_r:cert_t,s0)
/usr/share/ssl/private(/.*)? gen_context(system_u:object_r:cert_t,s0)
2005-09-16 13:36:26 +00:00
/usr/X11R6/lib/X11/fonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
2005-05-10 19:51:00 +00:00
/usr/X11R6/man(/.*)? gen_context(system_u:object_r:man_t,s0)
2005-05-10 19:51:00 +00:00
2006-09-05 14:31:27 +00:00
ifdef(`distro_gentoo',`
/usr/share/misc/(pci|usb)\.ids -- gen_context(system_u:object_r:hwdata_t,s0)
')
ifdef(`distro_redhat',`
/usr/share/hwdata(/.*)? gen_context(system_u:object_r:hwdata_t,s0)
')
2005-05-10 19:51:00 +00:00
#
# /var
#
/var/ftp(/.*)? gen_context(system_u:object_r:public_content_t,s0)
2005-09-27 22:29:45 +00:00
/var/lib/texmf(/.*)? gen_context(system_u:object_r:tetex_data_t,s0)
2005-05-10 19:51:00 +00:00
2010-03-09 15:44:55 +00:00
/var/cache/fontconfig(/.*)? gen_context(system_u:object_r:fonts_cache_t,s0)
/var/cache/fonts(/.*)? gen_context(system_u:object_r:tetex_data_t,s0)
/var/cache/man(/.*)? gen_context(system_u:object_r:man_t,s0)
2005-05-10 19:51:00 +00:00
2010-03-09 15:44:55 +00:00
/var/named/chroot/etc/pki(/.*)? gen_context(system_u:object_r:cert_t,s0)
2010-08-26 13:41:21 +00:00
/var/spool/abrt-upload(/.*)? gen_context(system_u:object_r:public_content_rw_t,s0)
2006-09-05 14:31:27 +00:00
2010-08-26 13:41:21 +00:00
/var/spool/texmf(/.*)? gen_context(system_u:object_r:tetex_data_t,s0)
2010-03-09 15:44:55 +00:00
2006-09-05 14:31:27 +00:00
ifdef(`distro_debian',`
/var/lib/msttcorefonts(/.*)? gen_context(system_u:object_r:fonts_t,s0)
/var/lib/usbutils(/.*)? gen_context(system_u:object_r:hwdata_t,s0)
')
ifdef(`distro_redhat',`
/var/empty/sshd/etc/localtime -- gen_context(system_u:object_r:locale_t,s0)
/var/spool/postfix/etc/localtime -- gen_context(system_u:object_r:locale_t,s0)
')