HomeFreeBSD

Use the newer EINTEGRITY error when authentication fails.

Description

Use the newer EINTEGRITY error when authentication fails.

GELI used to fail with EINVAL when a read request spanned a disk
sector whose contents did not match the sector's authentication tag.
The recently-added EINTEGRITY more closely matches to the error in
this case.

Reviewed by: cem, mckusick
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D24131

Details

Provenance
jhbAuthored on
Reviewer
cem
Differential Revision
D24131: Use the newer EINTEGRITY error when authentication fails.
Parents
rS359262: Improve LIBADD/_DP_* for kyua libraries.
Branches
Unknown
Tags
Unknown