K 10 svn:author V 7 asomers K 8 svn:date V 27 2022-08-20T00:55:04.264650Z K 7 svn:log V 757 fusefs: validate servers' error values Formerly fusefs would pass up the stack any error value returned by the fuse server. However, some values aren't valid for userland, but have special meanings within the kernel. One of these, EJUSTRETURN, could cause a kernel page fault if the server returned it in response to FUSE_LOOKUP. Fix by validating all errors returned by the server. Also, fix a data lifetime bug in the FUSE_DESTROY test. PR: 263220 Reported by: Robert Morris Sponsored by: Axcient Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D34931 (cherry picked from commit 155ac516c60f20573d15c54bafabfd0e52d21fa6) Git Hash: 73e02a370e524eb1e5719d9c37098e29c0d9be78 Git Author: asomers@FreeBSD.org END