Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: thorpej
Date: Sat Jul 18 01:06:15 UTC 2026
Modified Files:
src/sys/conf: std
src/sys/uvm: files.uvm uvm_pager.c uvm_swap.c
Log Message:
Make swap encryption truly optional, rather than just able to be
default-disabled
- New option VMSWAP_ENCRYPTION (enabled by default in conf/std along with
VMSWAP)
- Remove the "aes" attribute from VMSWAP and hand it to VMSWAP_ENCRYPTION.
- Conditionalize all code and data related to swap encryption on the
new VMSWAP_ENCRYPTION option.
While the swap encryption code itself is not that large, it drags in
the AES code if enabled. If a constrained platform doesn't care about
encrypted swap, this lets it not pay the cost for AES.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/conf/std
cvs rdiff -u -r1.37 -r1.38 src/sys/uvm/files.uvm
cvs rdiff -u -r1.136 -r1.137 src/sys/uvm/uvm_pager.c
cvs rdiff -u -r1.234 -r1.235 src/sys/uvm/uvm_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index