All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael C Thompson <thompsmc@us.ibm.com>
To: casey@schaufler-ca.com
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: MLS concepts, relational question
Date: Wed, 07 Feb 2007 15:30:06 -0600	[thread overview]
Message-ID: <45CA44DE.3060700@us.ibm.com> (raw)
In-Reply-To: <20070207211438.8683.qmail@web36605.mail.mud.yahoo.com>

Casey Schaufler wrote:
> --- Michael C Thompson <thompsmc@us.ibm.com> wrote:
> 
>> OK, so assume there are two labels:
>> Label A -- s2:c1 - s15:c0.c1023
> 
> This is an SELinux MLS range label. It
> will not fit in the definitions you have
> below because the definitions you have
> are for discrete value labels. 

>> Label B -- s0:c1,c3,c5,...,c1021,c1023 (odd
>> repeating)
>>
>> What is the relationship between A and B?
>>
>> As my understanding goes, and from a definition I
>> found:
>>
>> A dom B, iff:
>> level(A) >= level(B) and cat(A) <super set of>
>> cat(B)
>>
>> A domby B, iff:
>> level(A) <= level(B) and cat(A) <subset of> cat(B)
>>
>> A eq B, iff:
>> level(A) == level(B) and cat(A) == cat(b)
>>
>> A incomp B, iff:
>> cat(A) not <subset of> cat(B) AND
>> cat(B) not <subset of> cat(A)
> 
> 
> The definition I always used for incomp was
> A incomp B if not (A dom B) and not (B dom A)

That makes sense, the source I was getting my definition from only 
included categories... is the above definition widely used?

>> Assuming all of those are accurate, label A does not
>> DOM, DOMBY, or EQ 
>> B, yet they are not INCOMP...
>>
>> Assuming all of the above is true, what do we call
>> this relationship?
> 
> Illegal, except in Sweden?

So then, using Joe's notation:
A(LOW) incomp B
A(HIGH) dom B
A illegal B ? :)

Guess I need to explain what I'm looking for better next time...
Mike


--
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.

      parent reply	other threads:[~2007-02-07 21:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 20:28 MLS concepts, relational question Michael C Thompson
2007-02-07 21:07 ` Joe Nall
2007-02-07 21:26   ` Michael C Thompson
2007-02-07 21:26   ` Stephen Smalley
2007-02-07 21:14 ` Casey Schaufler
2007-02-07 21:29   ` Stephen Smalley
2007-02-07 21:30   ` Michael C Thompson [this message]

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=45CA44DE.3060700@us.ibm.com \
    --to=thompsmc@us.ibm.com \
    --cc=casey@schaufler-ca.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.