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] File Context for tumbler
Date: Mon, 30 Jun 2014 15:30:25 -0400	[thread overview]
Message-ID: <53B1BAD1.1050709@tresys.com> (raw)
In-Reply-To: <CAPuKSJbGf3NdAGdrMHmotKshS2ChKkTf5FT1nP7xe1utbJSmSg@mail.gmail.com>

On 6/28/2014 5:32 PM, Jason Zaman wrote:
> On Wed, Jun 25, 2014 at 6:33 PM, Christopher J. PeBenito
> <cpebenito@tresys.com> wrote:
>> On 6/23/2014 2:46 PM, Jason Zaman wrote:
>>> Tumbler is a D-Bus service for applications to request thumbnails
>>
>> Perhaps I'm misunderstanding, but if this is a service, why aren't you
>> creating a domain for this?  Running a service in dbus's domain
>> typically isn't the best choice.
> 
> It's not really a service, I just took that description from the xfce site.
> Its basically a helper utility that thunar (xfce's file manager) runs when
> it needs a thumbnail to display.
> 
> it's run by staff_dbus_t (or user_dbus_t etc) so it gets transitioned back
> into staff_t to run the tumbler service. Running in the user's domain seems
> okay to me since there isnt a specific xfce domain it should be running in.
> It isnt actually running in the dbus domain.

Ok, I see where my confusion is.  It is a DBus service, but it's for the
user's session, not a system service.

Merged.


>>> Signed-off-by: Jason Zaman <jason@perfinion.com>
>>> ---
>>>  policy/modules/kernel/corecommands.fc | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc
>>> index 5961142..6a86cda 100644
>>> --- a/policy/modules/kernel/corecommands.fc
>>> +++ b/policy/modules/kernel/corecommands.fc
>>> @@ -244,6 +244,7 @@ ifdef(`distro_gentoo',`
>>>  /usr/lib/xfce4/session/xfsm-shutdown-helper -- gen_context(system_u:object_r:bin_t,s0)
>>>  /usr/lib/xfce4/xfconf/xfconfd        --      gen_context(system_u:object_r:bin_t,s0)
>>>  /usr/lib/xfce4/xfwm4/helper-dialog --        gen_context(system_u:object_r:bin_t,s0)
>>> +/usr/lib/tumbler-1/tumblerd  --      gen_context(system_u:object_r:bin_t,s0)
>>>
>>>  /usr/lib/couchdb/erlang/lib/couch-[0-9.]+/priv/couchspawnkillable -- gen_context(system_u:object_r:bin_t,s0)

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

  reply	other threads:[~2014-06-30 19:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23 18:46 [refpolicy] [PATCH] File contexts for zram Jason Zaman
2014-06-23 18:46 ` [refpolicy] [PATCH] File Context for tumbler Jason Zaman
2014-06-25 14:33   ` Christopher J. PeBenito
2014-06-28 21:32     ` Jason Zaman
2014-06-30 19:30       ` Christopher J. PeBenito [this message]
2014-06-25 16:01 ` [refpolicy] [PATCH] File contexts for zram Christopher J. PeBenito

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=53B1BAD1.1050709@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.