add read fonts

This commit is contained in:
Chris PeBenito 2005-05-05 21:36:53 +00:00
parent 44a43b680b
commit ec81ecb30c

View File

@ -1,5 +1,24 @@
# Copyright (C) 2005 Tresys Technology, LLC
########################################
#
# miscfiles_read_fonts(domain)
#
define(`miscfiles_read_fonts',`
requires_block_template(`$0'_depend)
# FIXME: search usr_t dir
# FIXME: search lib_t dir
# cjp: fonts can be in either of the above dirs
allow $1 fonts_t:dir { getattr read search };
allow $1 fonts_t:file { getattr read };
')
define(`miscfiles_read_fonts_depend',`
type fonts_t;
class dir { getattr read search };
class file { getattr read };
')
########################################
#
# miscfiles_read_localization(domain)