All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <jbrindle@tresys.com>
To: gyurdiev@redhat.com
Cc: selinux@tycho.nsa.gov
Subject: Re: [ libsepol 6/6] Summary
Date: Thu, 21 Jul 2005 14:19:11 -0400	[thread overview]
Message-ID: <42DFE71F.40602@tresys.com> (raw)
In-Reply-To: <1121968509.9844.47.camel@celtics.boston.redhat.com>

Ivan Gyurdiev wrote:

>There is no 6/6.. i started counting at 0.
>Just wanted to mention some things:
>  
>
meh.

>- Note that no new functions are exposed
>via the shared interface, following the plan
>to make this library static.
>
>- Hopefully internal data structures can
>eventually be removed from headers, and
>we can rely on external data structures.
>
>  
>
probably not, there isn't really a need to add a layer of abstraction 
between checkpolicy and libsepol as checkpolicy is very tied to the 
policydb structure.

>- If you have complaints about the API,
>please let me know, and I'll fix it - I
>received no comments on my users patch
>when I posted it last time, so I followed
>the same approach.
>
>- Checkpolicy code should be routed to those new
>functions, and so should libsemanage.
>
>- I haven't put in a scope check (is_id_in_scope),
>which checkpolicy currently does -
>I didn't understand quite how that works. 
>If it is necessary, please let me know.
>
>  
>
Depends on what you are doing. The scope checks to see if symbols being 
refered to are in scope. In the module language there is an optional 
command that has a scope different from the global (symbols required for 
the optional to be activated are added to the active scope).

For purely monolithic policies it won't have an effect but with modules 
it must be done to ensure internal consistency in the policy.

>- manpages still need to be written
>  
>
don't you mean info pages ;)



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2005-07-21 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 17:55 [ libsepol 6/6] Summary Ivan Gyurdiev
2005-07-21 18:19 ` Joshua Brindle [this message]
2005-07-21 18:43   ` Ivan Gyurdiev
2005-07-21 18:50     ` Joshua Brindle
2005-07-21 20:28   ` John D. Ramsdell

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=42DFE71F.40602@tresys.com \
    --to=jbrindle@tresys.com \
    --cc=gyurdiev@redhat.com \
    --cc=selinux@tycho.nsa.gov \
    /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.