summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_test/mac_test.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-06-26 03:06:48 +0000
committerkientzle <kientzle@FreeBSD.org>2007-06-26 03:06:48 +0000
commit0d5ae862936f390eeabe0d0030d8992f8aef43b0 (patch)
treea05439b0b80a18ac1fe803e9152fa185536a9373 /sys/security/mac_test/mac_test.c
parenta404044c907d9b5f13dccea6e9e518f93fcfa73f (diff)
downloadFreeBSD-src-0d5ae862936f390eeabe0d0030d8992f8aef43b0.zip
FreeBSD-src-0d5ae862936f390eeabe0d0030d8992f8aef43b0.tar.gz
Fix 'bsdtar -t' on tape drives. Libarchive uses the
skip() callback to skip over data when reading uncompressed archives. This gets invoked, for example, during tar -t or tar -x with a filename argument. The revised code only calls [lf]seek() on regular files, instead of depending on the kernel to return an error. Thanks to: bde for explaining the implementation of lseek() Thanks to: Daniel O'Connor for testing Approved by: re (Ken Smith) MFC after: 5 days
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud