All of lore.kernel.org
 help / color / mirror / Atom feed
From: mgrepl@redhat.com (Miroslav Grepl)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] Add fc for /sys/fs/debug as debugfs_t
Date: Tue, 05 May 2015 14:41:11 +0200	[thread overview]
Message-ID: <5548BA67.8010409@redhat.com> (raw)
In-Reply-To: <1430828885-19446-1-git-send-email-bigon@debian.org>

On 05/05/2015 02:28 PM, Laurent Bigonville wrote:
> From: Laurent Bigonville <bigon@bigon.be>
> 
> ---
>  policy/modules/kernel/kernel.fc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/policy/modules/kernel/kernel.fc b/policy/modules/kernel/kernel.fc
> index 7be4ddf..2f8b6f1 100644
> --- a/policy/modules/kernel/kernel.fc
> +++ b/policy/modules/kernel/kernel.fc
> @@ -1 +1 @@
> -# This module currently does not have any file contexts.
> +/sys/fs/debugfs(/.*)?		gen_context(system_u:object_r:debugfs_t,s0)
> 
In Fedora, we have

+/sys/kernel/debug -d   gen_context(system_u:object_r:debugfs_t,s0)
+/sys/kernel/debug/.*   <<none>>


-- 
Miroslav Grepl
Software Engineering, SELinux Solutions
Red Hat, Inc.

  reply	other threads:[~2015-05-05 12:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05 12:28 [refpolicy] [PATCH] Add fc for /sys/fs/debug as debugfs_t Laurent Bigonville
2015-05-05 12:41 ` Miroslav Grepl [this message]
2015-05-06  9:59   ` Laurent Bigonville

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=5548BA67.8010409@redhat.com \
    --to=mgrepl@redhat.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.