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 1/2] Label /var/run/mdadm/map as mdadm_map_t
Date: Thu, 13 Sep 2012 13:42:15 -0400	[thread overview]
Message-ID: <50521AF7.90906@tresys.com> (raw)
In-Reply-To: <1347552568.2915.30.camel@d30.localdomain>

On 09/13/12 12:09, Dominick Grift wrote:
> 
> 
> On Thu, 2012-09-13 at 11:36 -0400, Daniel J Walsh wrote:
>> On 09/12/2012 12:49 PM, Dominick Grift wrote:
>>>
>>>
>>> On Wed, 2012-09-12 at 01:31 +0200, Laurent Bigonville wrote:
>>>> From: Laurent Bigonville <bigon@bigon.be>
>>>>
>>>> mdadm is now creating map file under /run/mdadm/map --- raid.fc |    1 + 
>>>> 1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/raid.fc b/raid.fc index ed9c70d..e3c8bfb 100644 ---
>>>> a/raid.fc +++ b/raid.fc @@ -4,3 +4,4 @@ /sbin/mdmpd		--
>>>> gen_context(system_u:object_r:mdadm_exec_t,s0)
>>>>
>>>> /var/run/mdadm(/.*)?		gen_context(system_u:object_r:mdadm_var_run_t,s0) 
>>>> +/var/run/mdadm/map	--	gen_context(system_u:object_r:mdadm_map_t,s0)
>>>
>>> I think its probably best to drop mdadm_map_t and make it an alias of 
>>> mdadm_var_run_t instead
>>>
>>> I have some changes from both myself and fedora for raid module in the 
>>> pipeline.
>>>
>>> It sucks though because both fedora as well as refpolicy made mdadm_t a 
>>> unconfined type. That basically makes it almost impossible for us to 
>>> develop it further and receive feedback on it.
>>>
>> Dominick lets turn that off in Rawhide.
>>
> 
> That is a good idea. I would like to hear pebenito' opinion about
> removing it in refpolicy as well.
> 
> what caused refpolicy to make mdadm_t a unconfined domain in the first
> place?

I'm fine with it.  I suspect its a remnant of the original targeted policy where only network-facing services were confined.

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

  reply	other threads:[~2012-09-13 17:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-11 23:31 [refpolicy] [PATCH 1/2] Label /var/run/mdadm/map as mdadm_map_t Laurent Bigonville
2012-09-11 23:31 ` [refpolicy] [PATCH 2/2] Add Debian location for accounts-daemon daemon Laurent Bigonville
2012-09-13 12:18   ` Dominick Grift
2012-09-12 16:49 ` [refpolicy] [PATCH 1/2] Label /var/run/mdadm/map as mdadm_map_t Dominick Grift
2012-09-13 15:36   ` Daniel J Walsh
2012-09-13 16:09     ` Dominick Grift
2012-09-13 17:42       ` Christopher J. PeBenito [this message]
2012-09-14 15:30         ` 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=50521AF7.90906@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.