opnsense-src/tests/sys/fs/fusefs
Alan Somers 662ec2f781 fusefs: sanitize FUSE_READLINK results for embedded NULs
If VOP_READLINK returns a path that contains a NUL, it will trigger an
assertion in vfs_lookup.  Sanitize such paths in fusefs, rejecting any
and warning the user about the misbehaving server.

PR:		274268
MFC after:	1 week
Sponsored by:	Axcient
Reviewed by:	mjg, markj
Differential Revision: https://reviews.freebsd.org/D42081
2023-10-07 08:22:03 -06:00
..
access.cc fusefs: fix some bugs updating atime during close 2023-09-21 08:02:31 -06:00
allow_other.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
bad_server.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
bmap.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
cache.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
copy_file_range.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
create.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
default_permissions.cc fusefs: fix unused variables from fb619c94c6 2023-09-21 09:40:49 -06:00
default_permissions_privileged.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
destroy.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
dev_fuse_poll.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
fallocate.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
fifo.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
flush.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
forget.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
fsync.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
fsyncdir.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
getattr.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
interrupt.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
io.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
last_local_modify.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
link.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
locks.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
lookup.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
lseek.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mkdir.cc Fix intermittency in the sys.fs.fusefs.symlink.main test 2023-10-06 15:08:03 -06:00
mknod.cc Fix intermittency in the sys.fs.fusefs.mknod.main test 2023-10-06 13:57:38 -06:00
mockfs.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
mockfs.hh Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
mount.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
nfs.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
notify.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
open.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
opendir.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
read.cc fusefs: fix unused variables from fb619c94c6 2023-09-21 09:40:49 -06:00
readdir.cc fusefs: add more readdir tests for misbehaving servers 2023-10-05 10:15:03 -06:00
readlink.cc fusefs: sanitize FUSE_READLINK results for embedded NULs 2023-10-07 08:22:03 -06:00
release.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
releasedir.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
rename.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
rmdir.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
setattr.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
statfs.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
symlink.cc Fix intermittency in the sys.fs.fusefs.symlink.main test 2023-10-06 15:08:03 -06:00
unlink.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
utils.hh Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
write.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
xattr.cc Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00