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

(cherry picked from commit 867b4decb4d50579152e52c594632cdc0f6266ff)

Details

Provenance
manuAuthored on Jan 31 2022, 1:46 PM
Reviewer
hselasky
Differential Revision
D34114: lindebugfs: Fix write
Parents
rG34f1d516aa90: systat: Display seconds in vmstat mode
Branches
Unknown
Tags
Unknown