HomeFreeBSD

lindebugfs: Zero the linux_file structure before use.

Description

lindebugfs: Zero the linux_file structure before use.

This avoids clients using garbage values on the stack and makes
debugging easier.

Sponsored by: NVIDIA Networking

(cherry picked from commit 88a29d89ebab1ed60607c3dab73143c3b59a0f83)

Details

Provenance
hselaskyAuthored on Mar 11 2022, 4:29 PM
Parents
rG4391c305e835: newfs(8): Fix a bug in initialization of sblock.fs_maxbsize .
Branches
Unknown
Tags
Unknown