Next: Types
Up: Roles and Types
Previous: Roles and Types
Roles and types are identified by a non-negative integer index.
Every process has one current role, and every user has one default role.
- currentrole(p:process):role := current role of process p at time n
- defrole(u:user):role := default role of user u at time n
The first system process 0 gets the default role of user 0.
|
(1) |
In the default setting, i.e., if not
specified differently by the Initial Role or the Forced Role
attributes of the program file
or the process (see subsection 3.5), the following implicit role transitions are
performed:
- All subprocesses
inherit the current role of their parent process.
|
(2) |
- On every change of the process owner, the process current role is set to the
new owner's default role.
|
(3) |
- When another program is executed, the current role of the process is kept.
|
(4) |
Thus, the default scheme follows the expected behaviour of a role based model.
Next: Types
Up: Roles and Types
Previous: Roles and Types
Amon Ott