All of lore.kernel.org
 help / color / mirror / Atom feed
* request for review of, and collaboration on SELinux models wiki entry
@ 2009-07-02 13:40 Dominick Grift
  2009-07-02 13:57 ` Stephen Smalley
  2009-07-02 14:29 ` Stephen Smalley
  0 siblings, 2 replies; 12+ messages in thread
From: Dominick Grift @ 2009-07-02 13:40 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

Recently
http://www.nsa.gov/research/_files/selinux/papers/policy2/x86.shtml came
to my attention and i noticed that this article does not reflect the
current available SELinux models. Also the descriptions seem a bit
technical to me.

Today i decided to make a new introduction to SELinux models with MCS,
MLS and UBAC included for the selinuxproject Wiki. The attempt was to
keep it as easy to read for humans as possible.

I am sure that my entry has mistakes and could use improvements,
therefore i ask you to review the entry and submit any improvements.

You can also send suggestions directly to me.

http://selinuxproject.org/page/SELinux_models

Once we feel comfortable with the content we can add a link on the User
Resource front page.

Thanks in advance.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 13:40 request for review of, and collaboration on SELinux models wiki entry Dominick Grift
@ 2009-07-02 13:57 ` Stephen Smalley
  2009-07-02 14:29 ` Stephen Smalley
  1 sibling, 0 replies; 12+ messages in thread
From: Stephen Smalley @ 2009-07-02 13:57 UTC (permalink / raw)
  To: Dominick Grift; +Cc: selinux

On Thu, 2009-07-02 at 15:40 +0200, Dominick Grift wrote:
> Recently
> http://www.nsa.gov/research/_files/selinux/papers/policy2/x86.shtml came
> to my attention and i noticed that this article does not reflect the
> current available SELinux models. Also the descriptions seem a bit
> technical to me.
> 
> Today i decided to make a new introduction to SELinux models with MCS,
> MLS and UBAC included for the selinuxproject Wiki. The attempt was to
> keep it as easy to read for humans as possible.
> 
> I am sure that my entry has mistakes and could use improvements,
> therefore i ask you to review the entry and submit any improvements.
> 
> You can also send suggestions directly to me.
> 
> http://selinuxproject.org/page/SELinux_models
> 
> Once we feel comfortable with the content we can add a link on the User
> Resource front page.

Feel free to take text from the existing report and update it as
appropriate.

-- 
Stephen Smalley
National Security Agency


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 13:40 request for review of, and collaboration on SELinux models wiki entry Dominick Grift
  2009-07-02 13:57 ` Stephen Smalley
@ 2009-07-02 14:29 ` Stephen Smalley
  2009-07-02 14:54   ` Dominick Grift
  2009-07-02 15:25   ` Sebastian Pfaff
  1 sibling, 2 replies; 12+ messages in thread
From: Stephen Smalley @ 2009-07-02 14:29 UTC (permalink / raw)
  To: Dominick Grift; +Cc: selinux

On Thu, 2009-07-02 at 15:40 +0200, Dominick Grift wrote:
> Recently
> http://www.nsa.gov/research/_files/selinux/papers/policy2/x86.shtml came
> to my attention and i noticed that this article does not reflect the
> current available SELinux models. Also the descriptions seem a bit
> technical to me.
> 
> Today i decided to make a new introduction to SELinux models with MCS,
> MLS and UBAC included for the selinuxproject Wiki. The attempt was to
> keep it as easy to read for humans as possible.
> 
> I am sure that my entry has mistakes and could use improvements,
> therefore i ask you to review the entry and submit any improvements.
> 
> You can also send suggestions directly to me.
> 
> http://selinuxproject.org/page/SELinux_models
> 
> Once we feel comfortable with the content we can add a link on the User
> Resource front page.

- Security contexts are assigned to more than just processes and files.

- MLS/MCS has a single attribute, the MLS/MCS range, which has the
syntax:
lowsensitivity[:lowcategory,...][-highsensitivity[:highcategory,...]]

This is a pair of levels (which in the degenerate case where low==high
is displayed as a single level for conciseness) where each level
consists of a sensitivity value and a category set.

- The motivation of UBAC (which started as rbacsep) was to eliminate the
need for per-role derived domains for programs and derived types for
files.  It isn't really its own distinct model per se, just a particular
configuration of constraints based on SELinux user identity.

- MCS and MLS are just particular configurations of constraints for the
MLS engine and thus share the same field and engine logic.  MCS was an
attempt to make the MLS field and engine useful for general users, and
is being leveraged by sandbox and by svirt for separating multiple
instances of sandboxes or guest VMs.

-- 
Stephen Smalley
National Security Agency


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 14:29 ` Stephen Smalley
@ 2009-07-02 14:54   ` Dominick Grift
  2009-07-02 15:04     ` Stephen Smalley
  2009-07-02 16:26     ` Joshua Kramer
  2009-07-02 15:25   ` Sebastian Pfaff
  1 sibling, 2 replies; 12+ messages in thread
From: Dominick Grift @ 2009-07-02 14:54 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: selinux

[-- Attachment #1: Type: text/plain, Size: 3209 bytes --]

On Thu, 2009-07-02 at 10:29 -0400, Stephen Smalley wrote:
> On Thu, 2009-07-02 at 15:40 +0200, Dominick Grift wrote:
> > Recently
> > http://www.nsa.gov/research/_files/selinux/papers/policy2/x86.shtml came
> > to my attention and i noticed that this article does not reflect the
> > current available SELinux models. Also the descriptions seem a bit
> > technical to me.
> > 
> > Today i decided to make a new introduction to SELinux models with MCS,
> > MLS and UBAC included for the selinuxproject Wiki. The attempt was to
> > keep it as easy to read for humans as possible.
> > 
> > I am sure that my entry has mistakes and could use improvements,
> > therefore i ask you to review the entry and submit any improvements.
> > 
> > You can also send suggestions directly to me.
> > 
> > http://selinuxproject.org/page/SELinux_models
> > 
> > Once we feel comfortable with the content we can add a link on the User
> > Resource front page.
> 
> - Security contexts are assigned to more than just processes and files.

You and i know that but for a common user i think just separation of
files and processes should suffice.

When all is said and done a Linux system is just a bunch of files

I will edit it to read processes and objects although personally i think
objects sound a bit technical.

> - MLS/MCS has a single attribute, the MLS/MCS range, which has the
> syntax:
> lowsensitivity[:lowcategory,...][-highsensitivity[:highcategory,...]]
> 
> This is a pair of levels (which in the degenerate case where low==high
> is displayed as a single level for conciseness) where each level
> consists of a sensitivity value and a category set.

I will edit it to reflect this. I must say that reading a security
context and its fields suggests otherwise: user:role:type:level:category

if each field is a seperate attribute then the context suggests
categories are a separate attribute.

> - The motivation of UBAC (which started as rbacsep) was to eliminate the
> need for per-role derived domains for programs and derived types for
> files.  It isn't really its own distinct model per se, just a particular
> configuration of constraints based on SELinux user identity.

Maybe a it is a concept, like SELinux user identities? maybe i should
explain the difference between models and concepts although i feel that
would make things more complicated than needed.

I noted that it is not a distinct model i think by suggesting that it is
an extension to SELinux User identities.

> - MCS and MLS are just particular configurations of constraints for the
> MLS engine and thus share the same field and engine logic.  MCS was an
> attempt to make the MLS field and engine useful for general users, and
> is being leveraged by sandbox and by svirt for separating multiple
> instances of sandboxes or guest VMs.

I think i touched on that by saying: Multi Category Security is a
implementation of Multi Level Security where the use of assigned
Security Categories is to the discretion of the user.

I will think about ways to clear this up.

Thanks for your suggestions. I will apply the corrections soon.

Also feel free to edit the page.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 14:54   ` Dominick Grift
@ 2009-07-02 15:04     ` Stephen Smalley
  2009-07-02 16:26     ` Joshua Kramer
  1 sibling, 0 replies; 12+ messages in thread
From: Stephen Smalley @ 2009-07-02 15:04 UTC (permalink / raw)
  To: Dominick Grift; +Cc: selinux

On Thu, 2009-07-02 at 16:54 +0200, Dominick Grift wrote:
> On Thu, 2009-07-02 at 10:29 -0400, Stephen Smalley wrote:
> > On Thu, 2009-07-02 at 15:40 +0200, Dominick Grift wrote:
> > > Recently
> > > http://www.nsa.gov/research/_files/selinux/papers/policy2/x86.shtml came
> > > to my attention and i noticed that this article does not reflect the
> > > current available SELinux models. Also the descriptions seem a bit
> > > technical to me.
> > > 
> > > Today i decided to make a new introduction to SELinux models with MCS,
> > > MLS and UBAC included for the selinuxproject Wiki. The attempt was to
> > > keep it as easy to read for humans as possible.
> > > 
> > > I am sure that my entry has mistakes and could use improvements,
> > > therefore i ask you to review the entry and submit any improvements.
> > > 
> > > You can also send suggestions directly to me.
> > > 
> > > http://selinuxproject.org/page/SELinux_models
> > > 
> > > Once we feel comfortable with the content we can add a link on the User
> > > Resource front page.
> > 
> > - Security contexts are assigned to more than just processes and files.
> 
> You and i know that but for a common user i think just separation of
> files and processes should suffice.
> 
> When all is said and done a Linux system is just a bunch of files

+sockets 
+packets
+sysvipc
+userspace_objects (XSELinux, D-BUS, SEPostgreSQL)

> I will edit it to read processes and objects although personally i think
> objects sound a bit technical.
> 
> > - MLS/MCS has a single attribute, the MLS/MCS range, which has the
> > syntax:
> > lowsensitivity[:lowcategory,...][-highsensitivity[:highcategory,...]]
> > 
> > This is a pair of levels (which in the degenerate case where low==high
> > is displayed as a single level for conciseness) where each level
> > consists of a sensitivity value and a category set.
> 
> I will edit it to reflect this. I must say that reading a security
> context and its fields suggests otherwise: user:role:type:level:category
> 
> if each field is a seperate attribute then the context suggests
> categories are a separate attribute.

Yep, my fault.  Poor choice of syntax, somewhat historical (there was
originally only one level).

> > - The motivation of UBAC (which started as rbacsep) was to eliminate the
> > need for per-role derived domains for programs and derived types for
> > files.  It isn't really its own distinct model per se, just a particular
> > configuration of constraints based on SELinux user identity.
> 
> Maybe a it is a concept, like SELinux user identities? maybe i should
> explain the difference between models and concepts although i feel that
> would make things more complicated than needed.
> 
> I noted that it is not a distinct model i think by suggesting that it is
> an extension to SELinux User identities.
> 
> > - MCS and MLS are just particular configurations of constraints for the
> > MLS engine and thus share the same field and engine logic.  MCS was an
> > attempt to make the MLS field and engine useful for general users, and
> > is being leveraged by sandbox and by svirt for separating multiple
> > instances of sandboxes or guest VMs.
> 
> I think i touched on that by saying: Multi Category Security is a
> implementation of Multi Level Security where the use of assigned
> Security Categories is to the discretion of the user.
> 
> I will think about ways to clear this up.
> 
> Thanks for your suggestions. I will apply the corrections soon.
> 
> Also feel free to edit the page.

-- 
Stephen Smalley
National Security Agency


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 14:29 ` Stephen Smalley
  2009-07-02 14:54   ` Dominick Grift
@ 2009-07-02 15:25   ` Sebastian Pfaff
  2009-07-02 15:49     ` Dominick Grift
  1 sibling, 1 reply; 12+ messages in thread
From: Sebastian Pfaff @ 2009-07-02 15:25 UTC (permalink / raw)
  To: selinux, Stephen Smalley

hello,

from http://selinuxproject.org/page/SELinux_models (Multi Category  
Security):

[...] Multi Category Security and Multi Level Security are mutually  
exclusive.

> - MCS and MLS are just particular configurations of constraints for  
> the
> MLS engine and thus share the same field and engine logic.  MCS was an
> attempt to make the MLS field and engine useful for general users, and
> is being leveraged by sandbox and by svirt for separating multiple
> instances of sandboxes or guest VMs.

In other words: MCS and MLS are not mutally exclusiv?! Not in SELinux  
and not in gernal? For me, MCS in SELinux is an "extra",  which  you  
can use with MLS (or MLS engine) at the same time. Please correct me,  
if i'm wrong.

Imho, MCS uses "compartments" or categories to realize the need to  
know principle and MLS uses vertical levels to achieve (at least in  
SELinux) confidentiality (BLP model). Imo compartments and levels are  
not mutally exclusive.

--
Sebastian Pfaff


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 16:26     ` Joshua Kramer
@ 2009-07-02 15:36       ` Dominick Grift
  0 siblings, 0 replies; 12+ messages in thread
From: Dominick Grift @ 2009-07-02 15:36 UTC (permalink / raw)
  To: Joshua Kramer; +Cc: selinux

[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]

On Thu, 2009-07-02 at 12:26 -0400, Joshua Kramer wrote:
> >> - Security contexts are assigned to more than just processes and files.
> > You and i know that but for a common user i think just separation of
> > files and processes should suffice.
> > When all is said and done a Linux system is just a bunch of files
> 
> Note that I'm putting together a similar tutorial on Userspace Object 
> Managers [1].  There are applications - DBus, SE-PGSQL - that use SELinux 
> contexts on arbitrary objects in the program itself, for example, database 
> columns.  These objects are not necessarily files, but instead they are 
> in-memory data structures.
> 
> I'm going way out there and modelling the behavior of a dog pack - sled 
> dogs actually - using SELinux contexts.  I'll forward to the group for 
> review when it's done.
> 
> Cheers,
> -JK

Understood. i will change it to read "objects". my reasoning behind the
use of the word files instead was so that it would easier for common
users to understand, Although strictly speaking it is
incomplete/incorrect.

I do not think common users are aware of in-memory data structures and
other low level technical details.

But again, i will edit it to reflect facts instead.

Thanks
> -----
> http://www.globalherald.net/jb01
> GlobalHerald.NET, the Smarter Social Network! (tm)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 15:25   ` Sebastian Pfaff
@ 2009-07-02 15:49     ` Dominick Grift
  2009-07-02 17:03       ` Stephen Smalley
  0 siblings, 1 reply; 12+ messages in thread
From: Dominick Grift @ 2009-07-02 15:49 UTC (permalink / raw)
  To: Sebastian Pfaff; +Cc: selinux, Stephen Smalley

[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]

On Thu, 2009-07-02 at 17:25 +0200, Sebastian Pfaff wrote:
> hello,
> 
> from http://selinuxproject.org/page/SELinux_models (Multi Category  
> Security):
> 
> [...] Multi Category Security and Multi Level Security are mutually  
> exclusive.
> 
> > - MCS and MLS are just particular configurations of constraints for  
> > the
> > MLS engine and thus share the same field and engine logic.  MCS was an
> > attempt to make the MLS field and engine useful for general users, and
> > is being leveraged by sandbox and by svirt for separating multiple
> > instances of sandboxes or guest VMs.
> 
> In other words: MCS and MLS are not mutally exclusiv?! Not in SELinux  
> and not in gernal? For me, MCS in SELinux is an "extra",  which  you  
> can use with MLS (or MLS engine) at the same time. Please correct me,  
> if i'm wrong.
> 
> Imho, MCS uses "compartments" or categories to realize the need to  
> know principle and MLS uses vertical levels to achieve (at least in  
> SELinux) confidentiality (BLP model). Imo compartments and levels are  
> not mutally exclusive.

MCS and MLS are SELinux models (MCS and MLS are just particular
configurations of constraints for the MLS engine and thus share the same
field and engine logic.)

The MCS configuration of constraints conflict with the MLS configuration
of constraints.

In MCS the usage of assigned compartments is to the discretion of the
user

In MLS the usage of assigned compartments is mandatory.

As far as i know MCS and MLS are mutually exclusive. 

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 14:54   ` Dominick Grift
  2009-07-02 15:04     ` Stephen Smalley
@ 2009-07-02 16:26     ` Joshua Kramer
  2009-07-02 15:36       ` Dominick Grift
  1 sibling, 1 reply; 12+ messages in thread
From: Joshua Kramer @ 2009-07-02 16:26 UTC (permalink / raw)
  To: Dominick Grift; +Cc: selinux


>> - Security contexts are assigned to more than just processes and files.
> You and i know that but for a common user i think just separation of
> files and processes should suffice.
> When all is said and done a Linux system is just a bunch of files

Note that I'm putting together a similar tutorial on Userspace Object 
Managers [1].  There are applications - DBus, SE-PGSQL - that use SELinux 
contexts on arbitrary objects in the program itself, for example, database 
columns.  These objects are not necessarily files, but instead they are 
in-memory data structures.

I'm going way out there and modelling the behavior of a dog pack - sled 
dogs actually - using SELinux contexts.  I'll forward to the group for 
review when it's done.

Cheers,
-JK

-----
http://www.globalherald.net/jb01
GlobalHerald.NET, the Smarter Social Network! (tm)

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 15:49     ` Dominick Grift
@ 2009-07-02 17:03       ` Stephen Smalley
  2009-07-02 18:12         ` Sebastian Pfaff
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Smalley @ 2009-07-02 17:03 UTC (permalink / raw)
  To: Dominick Grift; +Cc: Sebastian Pfaff, selinux

On Thu, 2009-07-02 at 17:49 +0200, Dominick Grift wrote:
> On Thu, 2009-07-02 at 17:25 +0200, Sebastian Pfaff wrote:
> > hello,
> > 
> > from http://selinuxproject.org/page/SELinux_models (Multi Category  
> > Security):
> > 
> > [...] Multi Category Security and Multi Level Security are mutually  
> > exclusive.
> > 
> > > - MCS and MLS are just particular configurations of constraints for  
> > > the
> > > MLS engine and thus share the same field and engine logic.  MCS was an
> > > attempt to make the MLS field and engine useful for general users, and
> > > is being leveraged by sandbox and by svirt for separating multiple
> > > instances of sandboxes or guest VMs.
> > 
> > In other words: MCS and MLS are not mutally exclusiv?! Not in SELinux  
> > and not in gernal? For me, MCS in SELinux is an "extra",  which  you  
> > can use with MLS (or MLS engine) at the same time. Please correct me,  
> > if i'm wrong.
> > 
> > Imho, MCS uses "compartments" or categories to realize the need to  
> > know principle and MLS uses vertical levels to achieve (at least in  
> > SELinux) confidentiality (BLP model). Imo compartments and levels are  
> > not mutally exclusive.
> 
> MCS and MLS are SELinux models (MCS and MLS are just particular
> configurations of constraints for the MLS engine and thus share the same
> field and engine logic.)
> 
> The MCS configuration of constraints conflict with the MLS configuration
> of constraints.
> 
> In MCS the usage of assigned compartments is to the discretion of the
> user
> 
> In MLS the usage of assigned compartments is mandatory.
> 
> As far as i know MCS and MLS are mutually exclusive. 

Correct.

-- 
Stephen Smalley
National Security Agency


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 17:03       ` Stephen Smalley
@ 2009-07-02 18:12         ` Sebastian Pfaff
  2009-07-06 12:42           ` Stephen Smalley
  0 siblings, 1 reply; 12+ messages in thread
From: Sebastian Pfaff @ 2009-07-02 18:12 UTC (permalink / raw)
  To: Stephen Smalley, selinux


> On Thu, 2009-07-02 at 17:49 +0200, Dominick Grift wrote:
>> On Thu, 2009-07-02 at 17:25 +0200, Sebastian Pfaff wrote:
>>> hello,
>>>
>>> from http://selinuxproject.org/page/SELinux_models (Multi Category
>>> Security):
>>>
>>> [...] Multi Category Security and Multi Level Security are mutually
>>> exclusive.
>>>
>>>> - MCS and MLS are just particular configurations of constraints for
>>>> the
>>>> MLS engine and thus share the same field and engine logic.  MCS  
>>>> was an
>>>> attempt to make the MLS field and engine useful for general  
>>>> users, and
>>>> is being leveraged by sandbox and by svirt for separating multiple
>>>> instances of sandboxes or guest VMs.
>>>
>>> In other words: MCS and MLS are not mutally exclusiv?! Not in  
>>> SELinux
>>> and not in gernal? For me, MCS in SELinux is an "extra",  which  you
>>> can use with MLS (or MLS engine) at the same time. Please correct  
>>> me,
>>> if i'm wrong.
>>>
>>> Imho, MCS uses "compartments" or categories to realize the need to
>>> know principle and MLS uses vertical levels to achieve (at least in
>>> SELinux) confidentiality (BLP model). Imo compartments and levels  
>>> are
>>> not mutally exclusive.
>>
>> MCS and MLS are SELinux models (MCS and MLS are just particular
>> configurations of constraints for the MLS engine and thus share the  
>> same
>> field and engine logic.)
>>
>> The MCS configuration of constraints conflict with the MLS  
>> configuration
>> of constraints.
>>
>> In MCS the usage of assigned compartments is to the discretion of the
>> user
>>
>> In MLS the usage of assigned compartments is mandatory.
>>
>> As far as i know MCS and MLS are mutually exclusive.
>
> Correct.
>
> -- 
> Stephen Smalley
> National Security Agency
>


I think this implies that i'm wrong :/

If MLS and MCS are mutally exclusive, why is it possible to use  
categories _and_ levels with MLS policy? Isn't this a conflict?

Is MCS something similar which is generally referred to as  
Multilateral-Security?

Look here (excerpt from book Information Security - Priciples and  
Practice):

http://books.google.com/books?id=Bh45pU0_E_4C&lpg=PP1&dq=Information%20security%20principles&pg=PA185

So far i find the term MCS only or mainly in the context with SELinux,  
so i think it is (maybe) something SELinux specific which does  
neccessarily has something to do with Multilateral-Security.

I would be appreciate, if someone could give me some hints on what is  
wrong with my point of view.

--
Sebastian Pfaff


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: request for review of, and collaboration on SELinux models wiki entry
  2009-07-02 18:12         ` Sebastian Pfaff
@ 2009-07-06 12:42           ` Stephen Smalley
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Smalley @ 2009-07-06 12:42 UTC (permalink / raw)
  To: Sebastian Pfaff; +Cc: selinux

On Thu, 2009-07-02 at 20:12 +0200, Sebastian Pfaff wrote:
> I think this implies that i'm wrong :/
> 
> If MLS and MCS are mutally exclusive, why is it possible to use  
> categories _and_ levels with MLS policy? Isn't this a conflict?
> 
> Is MCS something similar which is generally referred to as  
> Multilateral-Security?
> 
> Look here (excerpt from book Information Security - Priciples and  
> Practice):
> 
> http://books.google.com/books?id=Bh45pU0_E_4C&lpg=PP1&dq=Information%20security%20principles&pg=PA185
> 
> So far i find the term MCS only or mainly in the context with SELinux,  
> so i think it is (maybe) something SELinux specific which does  
> neccessarily has something to do with Multilateral-Security.
> 
> I would be appreciate, if someone could give me some hints on what is  
> wrong with my point of view.

MCS was invented by James Morris,
http://james-morris.livejournal.com/5583.html

It doesn't really correspond to anything in the literature; it just
leverages the MLS label field and policy engine.

MCS and MLS are just different configurations of the MLS policy engine.
The MCS configuration only defines a single sensitivity, while the MLS
configuration defines multiple sensitivities (16 in the Fedora policy).
Both define and use categories (1024 in the Fedora policies).  Under
MCS, the "low level" in the process' range is always s0, and the process
may at its discretion label files with any category from its "high
level" and may access files whose category sets are within the process
"high level".  Under MLS, the "low level" in the process' range
represents its active/current level, any files created by the process
must be labeled at that level, and it may only read-down and write-at
that level unless it has specific type attributes that allow it to
override the usual MLS constraints.  The "high level" under MLS
represents the user's max clearance, with the process able to elevate
its low level up to that max via newrole -l (depending on
configuration).

-- 
Stephen Smalley
National Security Agency


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-07-06 12:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 13:40 request for review of, and collaboration on SELinux models wiki entry Dominick Grift
2009-07-02 13:57 ` Stephen Smalley
2009-07-02 14:29 ` Stephen Smalley
2009-07-02 14:54   ` Dominick Grift
2009-07-02 15:04     ` Stephen Smalley
2009-07-02 16:26     ` Joshua Kramer
2009-07-02 15:36       ` Dominick Grift
2009-07-02 15:25   ` Sebastian Pfaff
2009-07-02 15:49     ` Dominick Grift
2009-07-02 17:03       ` Stephen Smalley
2009-07-02 18:12         ` Sebastian Pfaff
2009-07-06 12:42           ` Stephen Smalley

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.