All of lore.kernel.org
 help / color / mirror / Atom feed
* Basic question on policy design
@ 2003-12-03 15:49 Dhruv Gami
  2003-12-03 22:11 ` Stephen Smalley
  2003-12-04 13:29 ` Frank Mayer
  0 siblings, 2 replies; 7+ messages in thread
From: Dhruv Gami @ 2003-12-03 15:49 UTC (permalink / raw)
  To: SELINUX

Hello Everyone,

I am trying to understand how  Type Enforcement has been implemented in 
SELinux, and am using the sample policy given with the SELinux packages 
as an example.

In the paper "Meeting Critical Security Objectives with SELinux", 
Stephen Smalley and Peter Loscocco say:

The TE Configuration file defines an extensible set of types. Using the 
allow statement, allowable permissions between pairs of types are 
specified for each object class.

allow type_1 type_2:class { perm_1 ... perm_n };

The meaning of this above rule is not too clear to me.
1. what exactly is the relationship between type_1 and type_2 ?
2. is the class associated with type_2 only ?
3. Are type_1 and type_2 interchangable in the above rule ?
4. is there any rule that type_1 should be subject and type_2 should be 
an object type ?

The structure of the policy rules is not very clear to me. Is there any 
documentation available which makes it clear ? maybe im missing 
something somewhere. any help in this regard would be greatly appreciated.

regards,
Dhruv Gami


--
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] 7+ messages in thread

end of thread, other threads:[~2003-12-09 17:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-03 15:49 Basic question on policy design Dhruv Gami
2003-12-03 22:11 ` Stephen Smalley
2003-12-04 13:29 ` Frank Mayer
2003-12-04 20:18   ` Diyab
2003-12-05  0:04     ` Russell Coker
2003-12-09 12:14       ` Timothy Wood
2003-12-09 17:05     ` Frank Mayer

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.