add read fonts
This commit is contained in:
parent
44a43b680b
commit
ec81ecb30c
@ -1,5 +1,24 @@
|
|||||||
# Copyright (C) 2005 Tresys Technology, LLC
|
# 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)
|
# miscfiles_read_localization(domain)
|
||||||
|
Loading…
Reference in New Issue
Block a user