From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 7/7] Alsasound init script writes asound.state file
Date: Mon, 26 Aug 2013 08:57:00 -0400 [thread overview]
Message-ID: <521B509C.4000008@tresys.com> (raw)
In-Reply-To: <1376765506-28924-8-git-send-email-sven.vermeulen@siphos.be>
On 08/17/2013 02:51 PM, Sven Vermeulen wrote:
> The alsasound init script writes updates into alsa state files, such as
> /var/lib/alsa/asound.state (for storing the ALSA mixer levels at shutdown).
>
> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
> ---
> policy/modules/system/init.te | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te
> index a97372a..08dd000 100644
> --- a/policy/modules/system/init.te
> +++ b/policy/modules/system/init.te
> @@ -578,6 +578,10 @@ ifdef(`distro_suse',`
> ')
>
> optional_policy(`
> + alsa_write_lib(initrc_t)
> +')
> +
> +optional_policy(`
> amavis_search_lib(initrc_t)
> amavis_setattr_pid_files(initrc_t)
> ')
Shouldn't this be handled by alsa_t?
--
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
next prev parent reply other threads:[~2013-08-26 12:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-17 18:51 [refpolicy] [PATCH 0/7] Small set of updates on non-contrib modules Sven Vermeulen
2013-08-17 18:51 ` [refpolicy] [PATCH 1/7] Get grub2-install to work properly Sven Vermeulen
2013-08-26 12:39 ` Christopher J. PeBenito
2013-08-17 18:51 ` [refpolicy] [PATCH 2/7] Support /sys/devices/system/cpu/online Sven Vermeulen
2013-08-26 12:49 ` Christopher J. PeBenito
2013-08-17 18:51 ` [refpolicy] [PATCH 3/7] Mark f2fs as a xattr-enabled file system Sven Vermeulen
2013-08-26 12:38 ` Christopher J. PeBenito
2013-08-17 18:51 ` [refpolicy] [PATCH 4/7] The security_t file system can be at /sys/fs/selinux Sven Vermeulen
2013-08-17 18:51 ` [refpolicy] [PATCH 5/7] Dontaudit access on security_t file system " Sven Vermeulen
2013-08-17 18:51 ` [refpolicy] [PATCH 6/7] Support named file transition for fixed_disk_device_t Sven Vermeulen
2013-08-26 12:51 ` Christopher J. PeBenito
2013-08-17 18:51 ` [refpolicy] [PATCH 7/7] Alsasound init script writes asound.state file Sven Vermeulen
2013-08-26 12:57 ` Christopher J. PeBenito [this message]
2013-08-27 10:42 ` Sven Vermeulen
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=521B509C.4000008@tresys.com \
--to=cpebenito@tresys.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.