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)
Wed, Jan 22, 8:14 PM
Unknown Object (File)
Sun, Jan 19, 6:30 PM
Unknown Object (File)
Mon, Jan 13, 6:29 PM
Unknown Object (File)
Jan 7 2025, 2:50 PM
Unknown Object (File)
Dec 12 2024, 9:55 AM
Unknown Object (File)
Dec 6 2024, 2:03 PM
Unknown Object (File)
Dec 4 2024, 9:11 AM
Unknown Object (File)
Oct 28 2024, 12:55 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 32218
Build 29713: 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.