summaryrefslogtreecommitdiff
path: root/bin/pax/tar.c
AgeCommit message (Expand)Author
2024-01-20Better formatting for pax extended header timesJeremie Courreges-Anglas
2023-12-27'pax' format support for mtime and atimeJeremie Courreges-Anglas
2023-12-22Zap useless newline added in previousJeremie Courreges-Anglas
2023-12-22'pax' format support for files over 8GBJeremie Courreges-Anglas
2023-12-21Print the proper file name in case we fail to allocate a "path" extended headerJeremie Courreges-Anglas
2023-12-09Add basic write support for 'pax' format archivesJeremie Courreges-Anglas
2023-09-04Zap #ifndef SMALL around pax format read supportJeremie Courreges-Anglas
2023-08-19Copy entire st_*tim structs at once, rather than copyingPhilip Guenther
2023-06-26pax: truncate times to MAX_TIME_T, not INT_MAXTodd C. Miller
2022-03-01Support mtime/atime/ctime extended headers in !SMALL builds.Stuart Henderson
2021-06-1432-bit systems incorrectly parse the (64-bit) length of ustar extendedTheo de Raadt
2019-06-24uid_from_user() and gid_from_user() return -1 when indicating error,Theo de Raadt
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofTodd C. Miller
2017-09-16Carefully add casts to silence clang sign-compare warnings. ok millert@Otto Moerbeek
2017-09-12there is no offical way to get the max value of time_t, but this one worksOtto Moerbeek
2017-09-08Avoid clang warning and make code better by using a signed long;Otto Moerbeek
2016-08-26Don't need <sys/time.h> or "options.h" herePhilip Guenther
2016-08-25Replace name_{uid,gid}() with the libc routines user_from_uid() andPhilip Guenther
2016-08-14Remove many unnecessary casts. Verified by comparing generated code onPhilip Guenther
2016-08-14Replace u_quad_t with unsigned long long and replace "uqd" with "ull" inPhilip Guenther
2016-02-15To archive a 101 character absolute path in ustar format we mustPhilip Guenther
2015-03-17Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
2015-03-09Unrevert post-unlock:Philip Guenther
2015-02-21Recent changes haven't been completely stable, so revert for the 5.7 releasePhilip Guenther
2015-01-29Correct buffer overflow in handling of pax extension headers, caughtPhilip Guenther
2014-02-19Map negative mtimes to zero instead of skipping the affected files.Philip Guenther
2014-01-08Zap trailing whitespacePhilip Guenther
2014-01-08Eliminate poisonous LONG_OFF_T conditionalPhilip Guenther
2014-01-08Mark some functions as printf-like and fix a bogus format stringPhilip Guenther
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-07-03cpio and ustar formats store times in octal fields that are 11 charactersPhilip Guenther
2013-04-11The tweaks I suggested to the previous diff resulted in the typeflagPhilip Guenther
2013-04-09Add extended header support for ustar. Currently only path and linkpath areFederico G. Schwindt
2013-03-27Enable support for write_opt=nodir for ustar archives which helps to fixVadim Zhukov
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2010-12-02a -N option for tar that uses numeric only IDs, useful for cross systemTed Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2006-03-04Properly take into account that the name and prefix field in the tarOtto Moerbeek
2005-12-17Avoid sign extend when writing time stamps; fixes "tar: Ustar headerOtto Moerbeek
2005-06-13Fix writing of old-style tar headers. Filenames and linknames actuallyOtto Moerbeek
2005-04-28Use a special crafted string copy function to copy data from ustarOtto Moerbeek
2005-04-21fix strlcpy abuse in pax - this commit turns potential overflows intoBob Beck
2005-04-14add the prefix length to nlen for ustar; ok otto millertMarkus Friedl
2005-04-10Handle path names of exactly 100 chars correctly. Based on a diffOtto Moerbeek
2004-10-23If a uid or gid does not fit into into the tar header, issue a warningOtto Moerbeek
2004-04-16spacingTheo de Raadt
2004-03-30Add support for expanding GNU long links from NetBSD. I've had thisTodd C. Miller
2003-06-26protos. this requires changing the api for the *trail() functions a bitTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller