Expand description
Session management for multi-user support
Provides session groups, virtual terminal assignment, session isolation, and login/logout lifecycle management. Each session represents a user’s login context with its own process group, VT assignment, and state.
Sessions are identified by a SessionId (u64) and tracked by a global
SessionManager protected by a spin mutex. A maximum of 8 concurrent
sessions is enforced.
Structs§
- Session
- A user session containing process groups, VT assignment, and metadata.
- Session
Id - Unique session identifier.
- Session
Manager - Manages all active sessions.
Enums§
- Session
State - Runtime state of a session.
Statics§
- SESSION_
MANAGER - Global session manager, protected by a spin mutex.
Functions§
- init
- Initialize the session subsystem.