[Bug 239830] [FUSEFS]: fusefs doesn't send the entire fuse_getattr_in structure
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 14 20:45:59 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239830
--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:
Author: asomers
Date: Wed Aug 14 20:45:01 UTC 2019
New revision: 351042
URL: https://svnweb.freebsd.org/changeset/base/351042
Log:
fusefs: Fix the size of fuse_getattr_in
In FUSE protocol 7.9, the size of the FUSE_GETATTR request has increased.
However, the fusefs driver is currently not sending the additional fields.
In our implementation, the additional fields are always zero, so I there
haven't been any test failures until now. But fusefs-lkl requires the
request's length to be correct.
Fix this bug, and also enhance the test suite to catch similar bugs.
PR: 239830
MFC after: 2 weeks
MFC-With: 350665
Sponsored by: The FreeBSD Foundation
Changes:
head/sys/fs/fuse/fuse_internal.c
head/tests/sys/fs/fusefs/getattr.cc
head/tests/sys/fs/fusefs/mockfs.cc
head/tests/sys/fs/fusefs/mockfs.hh
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list