Page MenuHomeFreeBSD

tarfs: Ignore global extended headers.
ClosedPublic

Authored by des on Apr 2 2024, 8:15 PM.
Tags
None
Referenced Files
F102102773: D44600.diff
Thu, Nov 7, 3:44 PM
Unknown Object (File)
Sep 23 2024, 12:07 PM
Unknown Object (File)
Sep 23 2024, 4:36 AM
Unknown Object (File)
Sep 22 2024, 8:26 PM
Unknown Object (File)
Sep 20 2024, 10:40 PM
Unknown Object (File)
Sep 18 2024, 4:35 PM
Unknown Object (File)
Sep 17 2024, 10:02 PM
Unknown Object (File)
Sep 17 2024, 6:04 AM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable