HomeFreeBSD

lindebugfs: Fix write

Description

lindebugfs: Fix write

For write operation pseudofs creates an sbuf with the data.
Use this data instead of the uio as it's not usable anymore after
uiomove.

Reviewed by: hselasky
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D34114

Details

Provenance
manuAuthored on Jan 31 2022, 1:46 PM
Reviewer
hselasky
Differential Revision
D34114: lindebugfs: Fix write
Parents
rGe11ad014d146: libc: return partial sysctl() result if buffer is too small
Branches
Unknown
Tags
Unknown