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)
Wed, Aug 19, 1:20 PM
Unknown Object (File)
Sun, Aug 9, 10:13 AM
Unknown Object (File)
Sat, Aug 8, 12:40 AM
Unknown Object (File)
Tue, Aug 4, 8:41 AM
Unknown Object (File)
Sun, Aug 2, 5:14 AM
Unknown Object (File)
Jul 15 2026, 7:57 PM
Unknown Object (File)
Jul 12 2026, 5:36 PM
Unknown Object (File)
Jul 1 2026, 7:50 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