postfix: allow smtpd to mmap SASL keytab files
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
This commit is contained in:
parent
578375480d
commit
871f0b0dd7
|
@ -844,7 +844,7 @@ optional_policy(`
|
|||
|
||||
optional_policy(`
|
||||
sasl_connect(postfix_smtpd_t)
|
||||
sasl_read_keytab(postfix_smtpd_t)
|
||||
sasl_mmap_read_keytab(postfix_smtpd_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
|
|
|
@ -38,6 +38,25 @@ interface(`sasl_read_keytab',`
|
|||
read_files_pattern($1, saslauthd_keytab_t, saslauthd_keytab_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Memory map and read SASL keytab files.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`sasl_mmap_read_keytab',`
|
||||
gen_require(`
|
||||
type saslauthd_keytab_t;
|
||||
')
|
||||
|
||||
files_search_etc($1)
|
||||
mmap_read_files_pattern($1, saslauthd_keytab_t, saslauthd_keytab_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## All of the rules required to
|
||||
|
|
Loading…
Reference in New Issue