Module security

Module security 

Source
Expand description

Security and hardening features for the threading system.

This module provides comprehensive security mechanisms to protect against various attack vectors and ensure system integrity in hostile environments.

Modules§

aslr
Address Space Layout Randomization (ASLR) implementation.
audit
Comprehensive audit logging for security events and thread operations.
cfi
Control Flow Integrity (CFI) implementation for hardened execution.
crypto_rng
Cryptographically secure random number generation for security features.
isolation
Thread isolation and sandboxing implementation.
stack_protection
Stack overflow protection with canaries and guard pages.

Structs§

FeaturesEnabled
SecurityConfig
Global security configuration.
SecurityState
Global security state and statistics.
SecurityStats
Security statistics.

Enums§

SecurityFeature
Security features that can be configured at runtime.
SecurityViolation
Security violation types.
ViolationResponse
Security violation handler result.

Statics§

SECURITY_STATE
Global security state instance.

Functions§

configure_security_feature
Enable/disable security features at runtime.
get_security_stats
Get current security statistics.
handle_security_violation
Security violation handler (called from various subsystems).
init_security
Initialize security subsystem.