During VOP_GETPAGES, fusefs needs to determine the file's length, which
could require a FUSE_GETATTR operation. If that fails, it's better to
SIGBUS than panic.
MFC after: 2 weeks
Sponsored by: Axcient
Differential D31994
fusefs: don't panic if FUSE_GETATTR fails durint VOP_GETPAGES asomers on Sep 16 2021, 8:53 PM. Authored by Tags None Referenced Files
Details During VOP_GETPAGES, fusefs needs to determine the file's length, which MFC after: 2 weeks
Diff Detail
Event Timeline
Comment Actions Don't you want to obtain siginfo_t and check that the SIGBUS signal was generated for access to p? Use sighandler(2) with SA_SIGINFO for that.
Comment Actions I am fine with the test code, but other part of the patch needs update.
Comment Actions
|