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)
Sun, Sep 6, 10:29 AM
Unknown Object (File)
Sat, Sep 5, 4:58 PM
Unknown Object (File)
Thu, Sep 3, 3:19 PM
Unknown Object (File)
Thu, Sep 3, 9:06 AM
Unknown Object (File)
Wed, Sep 2, 4:13 PM
Unknown Object (File)
Tue, Sep 1, 5:25 PM
Unknown Object (File)
Tue, Sep 1, 3:21 PM
Unknown Object (File)
Sun, Aug 30, 12:44 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