Chris PeBenito e181fe
# Copyright (C) 2005 Tresys Technology, LLC
Chris PeBenito e181fe
Chris PeBenito b4cd15
########################################
Chris PeBenito b4cd15
#
Chris PeBenito b4cd15
# miscfiles_read_localization(domain,[`optional'])
Chris PeBenito b4cd15
#
Chris PeBenito b4cd15
define(`miscfiles_read_localization',`
Chris PeBenito b4cd15
requires_block_template(miscfiles_read_localization_depend,$2)
Chris PeBenito b4cd15
# FIXME: $1 read etc_t:lnk_file here
Chris PeBenito b4cd15
# FIXME: $1 search usr_t:dir here
Chris PeBenito b4cd15
# FIXME: $1 read lib_t:file(?)
Chris PeBenito b4cd15
allow $1 locale_t:dir { getattr read search };
Chris PeBenito b4cd15
allow $1 locale_t:lnk_file { getattr read };
Chris PeBenito b4cd15
allow $1 locale_t:file { getattr read };
Chris PeBenito b4cd15
')
Chris PeBenito b4cd15
Chris PeBenito b4cd15
define(`miscfiles_read_localization_depend',`
Chris PeBenito b4cd15
type locale_t;
Chris PeBenito b4cd15
class dir { getattr read search };
Chris PeBenito b4cd15
class lnk_file { getattr read };
Chris PeBenito b4cd15
class file { getattr read };
Chris PeBenito b4cd15
')