selinux-refpolicy.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris PeBenito <pebenito@ieee.org>
To: "Sugar, David" <dsugar@tresys.com>,
	"selinux-refpolicy@vger.kernel.org" 
	<selinux-refpolicy@vger.kernel.org>
Subject: Re: [PATCH] Add interface clamav_run
Date: Sun, 20 Jan 2019 16:34:03 -0500	[thread overview]
Message-ID: <42f89578-9715-964f-c87c-781ce29390cc@ieee.org> (raw)
In-Reply-To: <20190119161905.25553-1-dsugar@tresys.com>

On 1/19/19 11:19 AM, Sugar, David wrote:
> Signed-off-by: Dave Sugar <dsugar@tresys.com>
> ---
>   policy/modules/services/clamav.if | 26 ++++++++++++++++++++++++++
>   1 file changed, 26 insertions(+)
> 
> diff --git a/policy/modules/services/clamav.if b/policy/modules/services/clamav.if
> index 7b6df49e..3639d769 100644
> --- a/policy/modules/services/clamav.if
> +++ b/policy/modules/services/clamav.if
> @@ -19,6 +19,32 @@ interface(`clamav_domtrans',`
>   	domtrans_pattern($1, clamd_exec_t, clamd_t)
>   ')
>   
> +########################################
> +## <summary>
> +##	Execute clamd programs in the clamd
> +##	domain and allow the specified role
> +##	the clamd domain.
> +## </summary>
> +## <param name="domain">
> +##	<summary>
> +##	Domain allowed to transition.
> +##	</summary>
> +## </param>
> +## <param name="role">
> +##	<summary>
> +##	Role allowed access.
> +##	</summary>
> +## </param>
> +#
> +interface(`clamav_run',`
> +	gen_require(`
> +		type clamd_t;
> +	')
> +
> +	clamav_domtrans($1)
> +	role $2 types clamd_t;
> +')
> +
>   ########################################
>   ## <summary>
>   ##	Connect to clamd using a unix

Merged.

-- 
Chris PeBenito

      parent reply	other threads:[~2019-01-21  7:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-19 16:19 [PATCH] Add interface clamav_run Sugar, David
2019-01-19 16:19 ` [PATCH] Add interface to read journal files Sugar, David
2019-01-20 21:34   ` Chris PeBenito
2019-01-20 21:34 ` Chris PeBenito [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42f89578-9715-964f-c87c-781ce29390cc@ieee.org \
    --to=pebenito@ieee.org \
    --cc=dsugar@tresys.com \
    --cc=selinux-refpolicy@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).