Skip to content

Commit

Permalink
Add delete openarc PID files to milter.if
Browse files Browse the repository at this point in the history
  • Loading branch information
lquidfire authored Jan 11, 2025
1 parent b1bf387 commit 903dcef
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions policy/modules/contrib/milter.if
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,22 @@ interface(`milter_delete_dkim_pid_files',`
files_search_pids($1)
delete_files_pattern($1, dkim_milter_data_t, dkim_milter_data_t)
')

#######################################
## <summary>
## Delete openarc PID files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`milter_delete_openarc_pid_files',`
gen_require(`
type openarc_milter_data_t;
')

files_search_pids($1)
delete_files_pattern($1, openarc_milter_data_t, openarc_milter_data_t)
')

0 comments on commit 903dcef

Please sign in to comment.