Page MenuHomeFreeBSD

loader: GELI writes are not yet implemented
ClosedPublic

Authored by tsoome on Jul 9 2020, 9:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 22 2024, 6:49 PM
Unknown Object (File)
Jan 14 2024, 1:58 PM
Unknown Object (File)
Jan 5 2024, 12:23 AM
Unknown Object (File)
Jan 5 2024, 12:23 AM
Unknown Object (File)
Jan 5 2024, 12:18 AM
Unknown Object (File)
Jan 5 2024, 12:02 AM
Unknown Object (File)
Dec 16 2023, 3:16 PM
Unknown Object (File)
Dec 12 2023, 9:47 AM
Subscribers

Details

Summary

implement geli writes, needed to support zfsbootcfg boot command.

Bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247482

This work is based on https://reviews.freebsd.org/D10236 by Allan Jude.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32221
Build 29716: arc lint + arc unit

Event Timeline

tsoome requested review of this revision.Jul 9 2020, 9:12 PM
tsoome created this revision.
rpokala added inline comments.
stand/libsa/geli/gelidev.c
174

"Need to read/modify/write, so read and decrypt, then modify."

Hopefully better comment.

LGTM, but you probably want to hear from someone who knows more (read: anything) about GELI. :-)

(It was convenient that geliboot_crypt() already supported encryption, even though it wasn't actually used until this change.)

This revision was not accepted when it landed; it landed in state Needs Review.Jul 11 2020, 6:52 AM
This revision was automatically updated to reflect the committed changes.