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, Sep 30, 1:36 PM
Unknown Object (File)
Sat, Sep 28, 4:18 AM
Unknown Object (File)
Fri, Sep 27, 6:07 PM
Unknown Object (File)
Fri, Sep 27, 8:00 AM
Unknown Object (File)
Thu, Sep 26, 5:18 PM
Unknown Object (File)
Tue, Sep 24, 5:14 PM
Unknown Object (File)
Tue, Sep 24, 3:22 AM
Unknown Object (File)
Sat, Sep 21, 4:47 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