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] oidentd fixes
Date: Wed, 8 Aug 2012 09:58:35 -0400	[thread overview]
Message-ID: <5022708B.7090901@tresys.com> (raw)
In-Reply-To: <1344433570.2306.38.camel@d30.localdomain>

On 08/08/12 09:46, Dominick Grift wrote:
> On Wed, 2012-08-08 at 09:25 -0400, Christopher J. PeBenito wrote:
>> On 08/08/12 09:11, Christopher J. PeBenito wrote:
>>> On 08/07/12 14:55, Dominick Grift wrote:
>>>> remove oidentd_read_user_content because interfaces aren' for internal
>>>> usage
>>>
>>> That's not actually a refpolicy rule.
>>  
>> To complete the thought, its fine to use an interface internally.  However, its preferred that you not create an interface only to use it internally unless its a complicated concept you're trying to abstract (e.g. portage_compile_domain()).
>>
> 
> And that is actually the case here. The oidentd_read_user_content() is
> trivial and is only used internally.
> 

True, but technically the interface shouldn't be removed otherwise it breaks the API (the interface has been at least 1 release).  So you can make the change in the te file and do the usual deprecation notifications in the interface.  Then we can drop the interface some time in the future.  It may not be used in refpolicy, but theres the chance that it might be used in someone's custom policy.

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

  reply	other threads:[~2012-08-08 13:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 18:55 [refpolicy] [PATCH] oidentd fixes Dominick Grift
2012-08-07 19:48 ` Guido Trentalancia
2012-08-07 19:50   ` Dominick Grift
2012-08-08 13:11 ` Christopher J. PeBenito
2012-08-08 13:25   ` Christopher J. PeBenito
2012-08-08 13:46     ` Dominick Grift
2012-08-08 13:58       ` Christopher J. PeBenito [this message]
2012-08-08 14:01         ` Dominick Grift
2012-08-08 13:27   ` Dominick Grift
2012-08-08 14:19     ` Guido Trentalancia

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=5022708B.7090901@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.