Skip to contentSkip to conversation

Something seems to be self-contradictory

DISCUSSION Park Lee 3 participants 3 messages Feb 16, 2004 – Feb 17, 2004 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw

Hi,
Today,I was reading some SELinux technical documents.I saw the following words, They seems to be self-contradictory:

1. ... ... A program,like any other object, is assigned a type,.... ( Page 4, subsection 3.1.TE Model, Configuring the SELinux Policy).
2. ... ...These transitions ensure that system processes and certain programs are placed into their own separate domains automatically. ...... ( Page 2, section 2 Overview, A Security Policy Configuration for the Security-Enhanced Linux ).

Then I was confused by such a problem:
Whether a program is assigned a type or a domain ?

Thanks,

Yours,
Park Lee
2004-02-16

---------------------------------
Do You Yahoo!?
完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间

#1 lore raw
Quoted 9 lines · Park Lee

1. ... ... A program,like any other object, is assigned a type,.... (
Page 4, subsection 3.1.TE Model, Configuring the SELinux Policy). 2. ... ...These transitions ensure that system processes and certain programs are
placed into their own separate domains automatically. ...... ( Page 2,
section 2 Overview, A Security Policy Configuration for the Security-Enhanced Linux ).

Then I was confused by such a problem:
Whether a program is assigned a type or a domain ?

A domain is a special type.

When you define types they can have attributes, one attribute is "domain" which indicates that it's possible to use that type for labelling processes.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
In reply to Park Lee
Quoted 12 lines · Park Lee

Hi,
Today,I was reading some SELinux technical documents.I saw the following words, They seems to be self-contradictory:

1. ... ... A program,like any other object, is assigned a
type,.... ( Page 4, subsection 3.1.TE Model, Configuring the
SELinux Policy).
2. ... ...These transitions ensure that system processes and certain programs are placed into their own separate domains automatically.
...... ( Page 2, section 2 Overview, A Security Policy
Configuration for the Security-Enhanced Linux ).

Quoted 3 lines

Then I was confused by such a problem:
Whether a program is assigned a type or a domain ?

A program (i.e. an executable file) is assigned a type. A process is assigned a domain (although in SELinux, a domain is just a type associated with a process). So the latter statement isn't quite accurate; it should be "...system processes and processes that execute certain programs are placed...".

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.