]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Change spamd_read_pid to spamd_read_pid_files
authorDan Walsh <dwalsh@redhat.com>
Mon, 28 Nov 2011 21:50:47 +0000 (16:50 -0500)
committerDan Walsh <dwalsh@redhat.com>
Mon, 28 Nov 2011 21:50:47 +0000 (16:50 -0500)
1  2 
policy/modules/services/spamassassin.if

index a313f4bc3ed83bb49abcee96ccd41f62fe51cd11,4aac595322b356948364e00feca31090d94bdc7b..82fc7f60e18a36f0593892f8576bde8dd345226e
@@@ -323,12 -323,13 +323,13 @@@ interface(`spamd_stream_connect',
  ##    </summary>
  ## </param>
  #
 -interface(`spamd_stream_connect',`
 +interface(`spamassassin_read_pid_files',`
        gen_require(`
 -              type spamd_t, spamd_var_run_t;
 +              type spamd_var_run_t;
        ')
  
 -      stream_connect_pattern($1, spamd_var_run_t, spamd_var_run_t, spamd_t)
+       files_search_pids($1)
 +      read_files_pattern($1, spamd_var_run_t, spamd_var_run_t)
  ')
  
  ########################################