Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Macros for i18n_input
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# Authors:  Dan Walsh <dwalsh@redhat.com> 
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
# i18n_input_domain(domain)
Chris PeBenito ab58ad
#
Chris PeBenito ab58ad
ifdef(`i18n_input.te', `
Chris PeBenito ab58ad
define(`i18n_input_domain', `
Chris PeBenito ab58ad
allow i18n_input_t $1_home_dir_t:dir { getattr search };
Chris PeBenito ab58ad
r_dir_file(i18n_input_t, $1_home_t)
Chris PeBenito ab58ad
if (use_nfs_home_dirs) { r_dir_file(i18n_input_t, nfs_t) }
Chris PeBenito ab58ad
if (use_samba_home_dirs) { r_dir_file(i18n_input_t, cifs_t) }
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
')
Chris PeBenito ab58ad
Chris PeBenito ab58ad