Expand description
Capability-based Security System
See also: Architecture Overview for the security model and data flow diagrams.
Implements a capability-based security model for Strat9-OS. All kernel resources are accessed through unforgeable tokens (capabilities).
Structs§
- CapId
- Unique identifier for a capability
- CapPermissions
- Permissions associated with a capability
- Capability
- A capability token that grants access to a kernel resource
- Capability
Manager - Global capability manager
- Capability
Table - Table of capabilities for a process
- Resource
Key 🔒 - Key for per-resource refcounting: (resource_type, resource_ptr)
Enums§
- Resource
Type - Types of kernel resources that can be accessed via capabilities
Statics§
Functions§
- get_
capability_ manager - Get a reference to the global capability manager
- release_
capability - Releases a capability and cleans up the underlying resource.