Page MenuHomeFreeBSD

kern: document rationale for PRIV_REBOOT usage in kexec_load
Needs ReviewPublic

Authored by go4av05.pvtx_gmail.com on Dec 20 2025, 3:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 13, 5:42 AM
Unknown Object (File)
Mon, Oct 12, 10:51 PM
Unknown Object (File)
Mon, Oct 12, 3:04 PM
Unknown Object (File)
Mon, Oct 12, 3:25 AM
Unknown Object (File)
Sun, Oct 11, 5:11 AM
Unknown Object (File)
Wed, Sep 30, 10:07 PM
Unknown Object (File)
Sep 9 2026, 1:04 AM
Unknown Object (File)
Sep 4 2026, 9:56 PM
Subscribers

Details

Reviewers
imp
Summary

Document why kexec_load() currently relies on PRIV_REBOOT for access
control, noting that loading a new kernel image is more powerful than
a traditional reboot and may warrant finer-grained privileges in the
future.

No functional change intended.

Test Plan

Not applicable (comment-only change).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped