HomeFreeBSD

ffs: Correct the input size check in sysctl_ffs_fsck()

Description

ffs: Correct the input size check in sysctl_ffs_fsck()

Make sure we return an error if no input was specified, since
SYSCTL_IN() will report success in that case.

Reported by: KMSAN
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation

(cherry picked from commit b2f9575646f89cdddcad76acae3e9305535506a2)

Details

Provenance
markjAuthored on May 31 2021, 10:56 PM
Parents
rGcbced258dee4: x86: Fix lapic_ipi_alloc() on i386
Branches
Unknown
Tags
Unknown