All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] Label /sys/kernel/debug/tracing filesystem
Date: Tue, 2 Feb 2016 09:26:15 -0500	[thread overview]
Message-ID: <56B0BC87.2040308@tresys.com> (raw)
In-Reply-To: <1454160121-30685-1-git-send-email-nicolas.iooss@m4x.org>

On 1/30/2016 8:22 AM, Nicolas Iooss wrote:
> tracefs filesystem is automounted in /sys/kernel/debug/tracing directory
> since Linux 4.1.  Label this filesystem properly.

Merged.


> Linux commit:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f76180bc07abc399977bfbe8c43bf58c4570e893
> ---
>  policy/modules/kernel/filesystem.te | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/policy/modules/kernel/filesystem.te b/policy/modules/kernel/filesystem.te
> index 1eb919388ed3..57b338e0c78b 100644
> --- a/policy/modules/kernel/filesystem.te
> +++ b/policy/modules/kernel/filesystem.te
> @@ -165,6 +165,10 @@ files_mountpoint(sysv_t)
>  genfscon sysv / gen_context(system_u:object_r:sysv_t,s0)
>  genfscon v7 / gen_context(system_u:object_r:sysv_t,s0)
>  
> +type tracefs_t;
> +fs_type(tracefs_t)
> +genfscon tracefs / gen_context(system_u:object_r:tracefs_t,s0)
> +
>  type vmblock_t;
>  fs_noxattr_type(vmblock_t)
>  files_mountpoint(vmblock_t)
> 


-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

      reply	other threads:[~2016-02-02 14:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-30 13:22 [refpolicy] [PATCH] Label /sys/kernel/debug/tracing filesystem Nicolas Iooss
2016-02-02 14:26 ` Christopher J. 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=56B0BC87.2040308@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.