SELinux-Refpolicy Archive on lore.kernel.org
 help / color / 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 v2] Add interface to get status of rsyslog service
Date: Wed, 20 Feb 2019 19:40:52 -0800
Message-ID: <1ba3afe491c9edfb71ce7e280511d71e96efaf6f.camel@ieee.org> (raw)
In-Reply-To: <20190220163709.27002-1-dsugar@tresys.com>

On Wed, 2019-02-20 at 16:37 +0000, Sugar, David wrote:
> Updated based on feedback.
> 
> Signed-off-by: Dave Sugar <dsugar@tresys.com>
> ---
>  policy/modules/system/logging.if | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/policy/modules/system/logging.if
> b/policy/modules/system/logging.if
> index 16091eb6..c86c4bd9 100644
> --- a/policy/modules/system/logging.if
> +++ b/policy/modules/system/logging.if
> @@ -427,6 +427,25 @@ interface(`logging_domtrans_syslog',`
>  	')
>  ')
>  
> +########################################
> +## <summary>
> +##	Allow specified domain to check status of syslog unit
> +## </summary>
> +## <param name="domain">
> +##	<summary>
> +##	Domain allowed access.
> +##	</summary>
> +## </param>
> +#
> +interface(`logging_status_syslog',`
> +	gen_require(`
> +		type syslogd_unit_t;
> +		class service status;
> +	')
> +
> +	allow $1 syslogd_unit_t:service status;
> +')
> +
>  ########################################
>  ## <summary>
>  ##	Set the attributes of syslog temporary files.

Merged.

-- 
Chris PeBenito



      parent reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 16:37 Sugar, David
2019-02-20 16:37 ` [PATCH v2] New interface to dontaudit access to cert_t Sugar, David
2019-02-21  3:40   ` Chris PeBenito
2019-02-21  3:40 ` Chris PeBenito [this message]

Reply instructions:

You may reply publically 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=1ba3afe491c9edfb71ce7e280511d71e96efaf6f.camel@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

SELinux-Refpolicy Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux-refpolicy/0 selinux-refpolicy/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux-refpolicy selinux-refpolicy/ https://lore.kernel.org/selinux-refpolicy \
		selinux-refpolicy@vger.kernel.org selinux-refpolicy@archiver.kernel.org
	public-inbox-index selinux-refpolicy


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux-refpolicy


AGPL code for this site: git clone https://public-inbox.org/ public-inbox