History log of /freebsd/sys/fs/tarfs/tarfs_io.c (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# 91e03758 20-Jun-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

tarfs: Don't use IO_DIRECT when reading from tarball.

Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D40612


Revision tags: release/13.2.0
# bf84156b 16-Feb-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

tarfs: Use a separate debug bit for bounce buffer usage.

Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D38588


# ce6a0c77 09-Feb-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

tarfs: Fix issues revealed by static analysis and testing.

* tarfs_alloc_mount(): Remove an unnecessary null check (CID 1504505) and an unused variable.

* tarfs_alloc_one(): Verify that the file si

tarfs: Fix issues revealed by static analysis and testing.

* tarfs_alloc_mount(): Remove an unnecessary null check (CID 1504505) and an unused variable.

* tarfs_alloc_one(): Verify that the file size is not negative (CID 1504506). While there, also validate the mode, owner and group.

* tarfs_vget(), tarfs_zio_init(): Explicitly ignore return value from getnewvnode(), which cannot fail (CID 1504508)

* tarfs_lookup_path(): Fix a case where a specially-crafted tarball could trigger a null pointer dereference by first descending into, and then backing out of, a previously unknown directory. (CID 1504515)

* mktar: Construct a tarball that triggers the aforementioned null pointer dereference.

Reported by: Coverity
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: imp, kib
Differential Revision: https://reviews.freebsd.org/D38463

show more ...


# 146d9da6 07-Feb-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

tarfs: Silence warnings when no supported compression is enabled.

Some of the code in sys/fs/tarfs/tarfs_io.c is not specific to zstd, but is still only used when some form of decompression is enabl

tarfs: Silence warnings when no supported compression is enabled.

Some of the code in sys/fs/tarfs/tarfs_io.c is not specific to zstd, but is still only used when some form of decompression is enabled. Put it behind #ifdef TARFS_ZIO to silence warnings.

Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D38415

show more ...


# a8fc2fe3 06-Feb-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

tarfs: Remove unnecessary code.

Reported by: kib
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D38401


# cf93505e 02-Feb-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

tarfs: Fix non-ZSTDIO build.

Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.


# 69d94f4c 02-Feb-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

Add tarfs, a filesystem backed by tarballs.

Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: pauamma, imp
Differential Revision: https://reviews.freebsd.org/D37753