Re: SE Linux II?

From: Stephen Smalley <sds_at_tislabs.com>
Date: Wed, 15 Aug 2001 13:38:59 -0400 (EDT)

On Wed, 15 Aug 2001, Eric Peters wrote:

> however still in a state of question about the representation of a 'domain'.
> My understanding of a class is just aggregated types (read write/etc) which
> could fall under the class 'file', yet what is the definition of a domain?

The term "class" refers to the kind of object, e.g. a directory, a regular file, a device file, a TCP socket, a UDP socket, a message queue, etc. For each class, a set of permissions are defined to control the services/operations provided for that object.

The terms "domain" and "type" refer to a particular security attribute in the security context that is used by the Type Enforcement (TE) policy. There have been many papers about TE and its variant DTE. A "domain" is simply a security tag for a process, and a "type" is simply a security tag for an object. The TE policy configuration specifies authorized permissions for various (domain,type,class) triples for operations on objects or (domain,domain,class) triples for operations between subjects. Abstractly, a domain is a set of processes with the same set of permissions to objects (an equivalence class of processes). The ability to enter a domain can be limited to specific programs by using the entrypoint permission, and the ability to transition between domains is controlled. Typically, a TE policy directly authorizes users for specific domains. The SELinux example security server uses roles as an intermediate abstractions, authorizing roles for specific domains and users for specific roles.

--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com




--
You have received this message because you are subscribed to the selinux 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.
Received on Wed 15 Aug 2001 - 13:47:46 EDT

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:25 EDT