Page MenuHomeFreeBSD

kern: document rationale for PRIV_REBOOT usage in kexec_load
AcceptedPublic

Authored by go4av05.pvtx_gmail.com on Sat, Dec 20, 3:57 AM.

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

Lint
Lint Skipped
Unit
Tests Skipped