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] Change deprecated gnome_role to new gnome_role_gconfd
Date: Fri, 19 Oct 2012 09:17:33 -0400	[thread overview]
Message-ID: <508152ED.4050706@tresys.com> (raw)
In-Reply-To: <1349878949.2331.7.camel@d30.localdomain>

On 10/10/12 10:22, Dominick Grift wrote:
> 
> 
> On Wed, 2012-10-10 at 16:10 +0200, Dominick Grift wrote:
>>
>> On Wed, 2012-10-10 at 09:35 -0400, Christopher J. PeBenito wrote:
>>> On 10/09/12 11:50, Dominick Grift wrote:
>>>> Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
>>>> diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
>>>> index e5aee97..2d1520d 100644
>>>> --- a/policy/modules/roles/staff.te
>>>> +++ b/policy/modules/roles/staff.te
>>>> @@ -93,7 +93,7 @@
>>>>  	')
>>>>  
>>>>  	optional_policy(`
>>>> -		gnome_role(staff_r, staff_t)
>>>> +		gnome_role_gconfd(staff_r, staff_t)
>>>>  	')
>>>>  
>>>>  	optional_policy(`
>>>> diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
>>>> index 44c198a..1803cfd 100644
>>>> --- a/policy/modules/roles/sysadm.te
>>>> +++ b/policy/modules/roles/sysadm.te
>>>> @@ -459,7 +459,7 @@
>>>>  	')
>>>>  
>>>>  	optional_policy(`
>>>> -		gnome_role(sysadm_r, sysadm_t)
>>>> +		gnome_role_gconfd(sysadm_r, sysadm_t)
>>>>  	')
>>>>  
>>>>  	optional_policy(`
>>>> diff --git a/policy/modules/roles/unprivuser.te b/policy/modules/roles/unprivuser.te
>>>> index 9f6d4c3..e354193 100644
>>>> --- a/policy/modules/roles/unprivuser.te
>>>> +++ b/policy/modules/roles/unprivuser.te
>>>> @@ -66,7 +66,7 @@
>>>>  	')
>>>   
>>>>  	optional_policy(`
>>>> -		gnome_role(user_r, user_t)
>>>> +		gnome_role_gconfd(user_r, user_t)
>>>>  	')
>>>>  
>>>>  	optional_policy(`
>>>
>>> Why was gnome_role() deprecated in the first place?
>>>
> 
> There is now also a gnome_role_gkeyringd() but its not called yet
> because its a work in progress ( it depends on freedeskop
> config/cache/data dirs)
> 
> So for example
> 
> Fedora will probably call gnome_role_gkeyringd() but not
> gnome_role_gconfd()
> 
> If you pile them all in one huge template then that allows for less
> flexibility

No.  I think it abstracts the gnome complexities away from other modules, and puts it where it rightly belongs, in the gnome module.

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

  reply	other threads:[~2012-10-19 13:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09 15:50 [refpolicy] [PATCH] Change deprecated gnome_role to new gnome_role_gconfd Dominick Grift
2012-10-10 13:35 ` Christopher J. PeBenito
2012-10-10 14:10   ` Dominick Grift
2012-10-10 14:22     ` Dominick Grift
2012-10-19 13:17       ` Christopher J. PeBenito [this message]
2012-10-19 13:28         ` Dominick Grift

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=508152ED.4050706@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.