⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module statistics

Module statistics 

Source
Expand description

Package Statistics, Update Notifications, and Security Advisories

Tracks package installation metrics, detects available updates by comparing installed vs available package versions, and checks installed packages against security advisories.

NOTE: Many types in this module are forward declarations for user-space APIs. They will be exercised when user-space process execution is functional. See TODO(user-space) markers for specific activation points.

Structs§

PackageStats
Per-package usage and installation statistics.
SecurityAdvisory
A security advisory describing a vulnerability that affects one or more packages.
StatsCollector
Collects and queries per-package statistics.
UpdateNotification
Notification that an installed package has a newer version available.

Enums§

AdvisorySeverity
Severity level for a security advisory.

Functions§

check_advisories
Check installed packages against a list of security advisories.
check_for_updates
Compare installed packages against available packages and return notifications for packages that have newer versions.