53f73aaf | 18-Dec-2024 |
Alan Somers <asomers@FreeBSD.org> |
fusefs: delete a comment in the tests
Even on a riscv embedded system, the fusefs tests run fast enough that 10 seconds is a reasonable timeout.
[skip ci]
MFC after: 2 weeks Sponsored by: ConnectW
fusefs: delete a comment in the tests
Even on a riscv embedded system, the fusefs tests run fast enough that 10 seconds is a reasonable timeout.
[skip ci]
MFC after: 2 weeks Sponsored by: ConnectWise
show more ...
|
584e1c35 | 03-Apr-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
tarfs: Ignore global extended headers.
Previously, we would error out if we encountered a global extended header, because we don't know what it means. This doesn't really matter though, and traditi
tarfs: Ignore global extended headers.
Previously, we would error out if we encountered a global extended header, because we don't know what it means. This doesn't really matter though, and traditionally, tar implementations have either ignored them or treated them as plain files, so just ignore them. This allows tarfs to mount tar files created by `git archive`.
MFC after: 3 days Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44600
show more ...
|
32b8aac6 | 06-Mar-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
tarfs: Factor out common test code.
MFC after: 3 days Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D44227 |
0118b0c8 | 06-Mar-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
tarfs: Fix checksum calculation.
The checksum code assumed that struct ustar_header filled an entire block and calculcated the checksum based on the size of the structure. The header is in fact only
tarfs: Fix checksum calculation.
The checksum code assumed that struct ustar_header filled an entire block and calculcated the checksum based on the size of the structure. The header is in fact only 500 bytes long while the checksum covers the entire block (“logical record” in POSIX terms). Add padding and an assertion, and clean up the checksum code.
MFC after: 3 days Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D44226
show more ...
|
662ec2f7 | 04-Oct-2023 |
Alan Somers <asomers@FreeBSD.org> |
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
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
show more ...
|