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)
Mon, Apr 20, 10:40 AM
Unknown Object (File)
Wed, Apr 15, 11:09 AM
Unknown Object (File)
Wed, Apr 15, 8:28 AM
Unknown Object (File)
Wed, Apr 15, 8:19 AM
Unknown Object (File)
Wed, Apr 15, 6:12 AM
Unknown Object (File)
Wed, Apr 15, 6:06 AM
Unknown Object (File)
Sat, Apr 11, 7:16 PM
Unknown Object (File)
Sat, Apr 11, 10:10 AM
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