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