Page MenuHomeFreeBSD

stand/geli: Allocate saved_keys instead of making it static
AcceptedPublic

Authored by imp on Sep 14 2022, 7:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 12:21 AM
Unknown Object (File)
Sat, Oct 11, 12:21 AM
Unknown Object (File)
Fri, Oct 10, 5:50 PM
Unknown Object (File)
Sun, Oct 5, 5:37 AM
Unknown Object (File)
Sep 11 2025, 3:17 PM
Unknown Object (File)
Sep 11 2025, 10:16 AM
Unknown Object (File)
Sep 7 2025, 4:35 AM
Unknown Object (File)
Sep 3 2025, 7:03 PM
Subscribers

Details

Reviewers
manu
kevans
tsoome
Summary

The saved_keys buffer is 4k and was allocated in bss. Dynamically
allocate it at runtime. This saves 4k of space in the lower 640k.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 47392
Build 44279: arc lint + arc unit