From: domg472@gmail.com (Dominick Grift)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [patch 1/1] stuff to make refpolicy boot on fedora 13.
Date: Mon, 4 Oct 2010 11:18:08 +0200 [thread overview]
Message-ID: <20101004091806.GA2793@localhost.localdomain> (raw)
In-Reply-To: <4CA62FF8.4050201@tresys.com>
On Fri, Oct 01, 2010 at 03:01:12PM -0400, Christopher J. PeBenito wrote:
> On 10/01/10 11:28, Daniel J Walsh wrote:
> >On 10/01/2010 11:10 AM, Dominick Grift wrote:
> >>On Fri, Oct 01, 2010 at 10:52:19AM -0400, Christopher J. PeBenito wrote:
> >>>On 10/01/10 10:30, Dominick Grift wrote:
> >>>>On Fri, Oct 01, 2010 at 09:58:38AM -0400, Christopher J. PeBenito wrote:
> >>>>>On 09/24/10 15:37, Dominick Grift wrote:
> >>>>>>diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te
> >>>>>>index fca6947..5f5f331 100644
> >>>>>>--- a/policy/modules/system/mount.te
> >>>>>>+++ b/policy/modules/system/mount.te
> >>>>>
> >>>>>>@@ -87,7 +91,8 @@ fs_mount_all_fs(mount_t)
> >>>>>> fs_unmount_all_fs(mount_t)
> >>>>>> fs_remount_all_fs(mount_t)
> >>>>>> fs_relabelfrom_all_fs(mount_t)
> >>>>>>-fs_list_auto_mountpoints(mount_t)
> >>>>>>+# wants to list usbfs_t
> >>>>>>+fs_list_all(mount_t)
> >>>>>
> >>>>>If you know it wants to list usbfs, why list all?
> >I am pretty sure this comes up with things like debugfs and others. I
> >don't see why you would not accept this since mount is a powerfull
> >domain and this hardly seems like a preventive measure. You are just
> >enabling a lot of stupid AVC messages by not allowing it to list.
>
> I didn't say I was rejecting it. I was asking a question.
I just tested it and it seems to only need the listing of usbfs dirs so far. I havent executed any exotic mount commands but i did do a simple mount to get a listing of all mounts and i rebooted a couple times.
So for now i will do what PeBenito suggests and keep an eye on this issue.
>
> --
> Chris PeBenito
> Tresys Technology, LLC
> www.tresys.com | oss.tresys.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20101004/c1aa264f/attachment.bin
next prev parent reply other threads:[~2010-10-04 9:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 19:37 [refpolicy] [patch 1/1] stuff to make refpolicy boot on fedora 13 Dominick Grift
2010-10-01 13:58 ` Christopher J. PeBenito
2010-10-01 14:30 ` Dominick Grift
2010-10-01 14:52 ` Christopher J. PeBenito
2010-10-01 15:09 ` Paul Howarth
2010-10-01 18:00 ` Christopher J. PeBenito
2010-10-01 15:10 ` Dominick Grift
2010-10-01 15:28 ` Daniel J Walsh
2010-10-01 19:01 ` Christopher J. PeBenito
2010-10-01 19:06 ` Dominick Grift
2010-10-04 9:18 ` Dominick Grift [this message]
2010-10-01 15:42 ` Daniel J Walsh
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=20101004091806.GA2793@localhost.localdomain \
--to=domg472@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.