All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Brindle <method@gentoo.org>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Joe Nall <joe@nall.com>, Chad Hanson <chanson@TrustedCS.com>,
	Darrel Goeddel <dgoeddel@TrustedCS.com>,
	David Quigley <dpquigl@tycho.nsa.gov>,
	Michael C Thompson <thompsmc@us.ibm.com>,
	selinux@tycho.nsa.gov
Subject: Re: Existence of "helper" functions (specifcally MLS)
Date: Mon, 24 Jul 2006 14:49:40 -0400	[thread overview]
Message-ID: <44C51644.3000705@gentoo.org> (raw)
In-Reply-To: <1153765166.6122.107.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:
> On Mon, 2006-07-24 at 11:48 -0500, Joe Nall wrote:
>   
>>> The relationship between s0 and s1 is not implicit in the names; s0
>>> could dominate s1; that is entirely defined by the policy itself.
>>>       
>> I had totally missed that. I mapped the s[n] to the integers we
>> use on the CMW without any thought that they were arbitrary.
>>     
>
> There is an explicit dominance definition in the policy that establishes
> the relationship.
>
>   
>> We have an application that combines data of multiple levels and has to
>> compute the aggregate classification before saving it to a file or  
>> sharing
>> it with another process. Will there be a function to compute an  
>> aggregate
>> context from a list of contexts?
>>     
>
>   
This sounds like you want to ditch TE altogether and revert to MLS 
entirely. That is, it seems like you have to since there is no such 
thing as an aggregate type. How could we possibly reconcile the user, 
role and type fields in a list of contexts? This seems like an enormous 
step backward and makes the application (whatever it is) incapable of 
using the stronger points of SELinux and from being applied to 
environments outside of the miltary/government realm.

I wonder if the hierarchal namespace for  roles and types could be 
useful here.. that would impose even more limitations on what the 
contexts could look like though but its probably better than simply 
ignoring those parts of the context.

> For that kind of specialized application, I suspect we'd create an
> interface to libsepol for that purpose rather than extending the kernel
> interface.  The other issue for that kind of function is whether the
> label encoding library needs to be brought into play to deal with
> complex relationships among the compartments that only it presently
> knows about (which ideally the kernel would understand too, but that
> isn't presently the case).
>   

--
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:[~2006-07-24 18:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 20:51 Existence of "helper" functions (specifcally MLS) Michael C Thompson
2006-07-24 13:45 ` David Quigley
2006-07-24 14:15   ` Joe Nall
2006-07-24 14:30     ` Stephen Smalley
2006-07-24 15:25       ` Joe Nall
2006-07-24 15:34         ` Stephen Smalley
2006-07-24 16:25           ` Casey Schaufler
2006-07-24 18:15             ` Stephen Smalley
2006-07-24 16:48           ` Joe Nall
2006-07-24 18:19             ` Stephen Smalley
2006-07-24 18:49               ` Joshua Brindle [this message]
2006-07-24 19:38                 ` Joe Nall

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=44C51644.3000705@gentoo.org \
    --to=method@gentoo.org \
    --cc=chanson@TrustedCS.com \
    --cc=dgoeddel@TrustedCS.com \
    --cc=dpquigl@tycho.nsa.gov \
    --cc=joe@nall.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    --cc=thompsmc@us.ibm.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.