From: dominick.grift@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/1] Allow rngd to write a pid file
Date: Sun, 03 Nov 2013 16:58:58 +0100 [thread overview]
Message-ID: <1383494338.3070.0.camel@d30> (raw)
In-Reply-To: <20131021183303.GA21172@siphos.be>
On Mon, 2013-10-21 at 20:33 +0200, Sven Vermeulen wrote:
> Signed-off-by: Luis Ressel <aranea@aixah.de>
> Acked-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This seems to be lacking a file context spec?
> ---
> rngd.te | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/rngd.te b/rngd.te
> index 4ab4eb5..19b66b9 100644
> --- a/rngd.te
> +++ b/rngd.te
> @@ -12,6 +12,9 @@ init_daemon_domain(rngd_t, rngd_exec_t)
> type rngd_initrc_exec_t;
> init_script_file(rngd_initrc_exec_t)
>
> +type rngd_var_run_t;
> +files_pid_file(rngd_var_run_t)
> +
> ########################################
> #
> # Local policy
> @@ -22,6 +25,9 @@ allow rngd_t self:process signal;
> allow rngd_t self:fifo_file rw_fifo_file_perms;
> allow rngd_t self:unix_stream_socket { accept listen };
>
> +manage_files_pattern(rngd_t, rngd_var_run_t, rngd_var_run_t)
> +files_pid_filetrans(rngd_t, rngd_var_run_t, file)
> +
> kernel_rw_kernel_sysctl(rngd_t)
>
> dev_read_rand(rngd_t)
prev parent reply other threads:[~2013-11-03 15:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 18:33 [refpolicy] [PATCH 1/1] Allow rngd to write a pid file Sven Vermeulen
2013-11-03 15:58 ` Dominick Grift [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=1383494338.3070.0.camel@d30 \
--to=dominick.grift@gmail.com \
--cc=refpolicy@oss.tresys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.