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