All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher J. PeBenito" <cpebenito@tresys.com>
To: Harry Ciao <qingtao.cao@windriver.com>
Cc: <selinux@tycho.nsa.gov>
Subject: Re: [PATCH 1/1] role_fix_callback skips out-of-scope roles during expansion.
Date: Fri, 24 Feb 2012 09:17:46 -0500	[thread overview]
Message-ID: <4F479C0A.6070102@tresys.com> (raw)
In-Reply-To: <1330067550-9744-1-git-send-email-qingtao.cao@windriver.com>

On 02/24/12 02:12, Harry Ciao wrote:
> If a role identifier is out of scope it would be skipped over during
> expansion, accordingly, be it a role attribute, it should be skipped
> over as well when role_fix_callback tries to propagate its capability
> to all its sub-roles.
> 
> BTW, it's worthwhile to note that the symtab and rules of an optional
> block in a loadable module will be written to its pp. However, for the
> base module the entire optional block will be omitted if its exterior
> dependency cannot be properly satisfied.

This doesn't sound correct.  If optionals don't exist in the base module, then that would be a significant problem for current policy.

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

--
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:[~2012-02-24 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24  7:12 [PATCH 1/1] role_fix_callback skips out-of-scope roles during expansion Harry Ciao
2012-02-24 14:17 ` Christopher J. PeBenito [this message]
2012-02-25  1:34   ` Harry Ciao

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=4F479C0A.6070102@tresys.com \
    --to=cpebenito@tresys.com \
    --cc=qingtao.cao@windriver.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.