summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Expand)Author
2016-08-26reduce and sort #includesPhilip Guenther
2016-08-26tables.h is only used by tables.c; merge it into the .c filePhilip Guenther
2016-08-26<sys/time.h>, <errno.h>, and <stdlib.h> are unnecessary; sort #includesPhilip Guenther
2016-08-26sel_subs.h is only used by sel_subs.c; merge it into the .c filePhilip Guenther
2016-08-26pat_rep.h is only used by pat_rep.c; merge it into the .c filePhilip Guenther
2016-08-26ftree.h is only used by ftree.c; merge it into the .c filePhilip Guenther
2016-08-26Don't need <sys/time.h> or "options.h" herePhilip Guenther
2016-08-26cache.h is only used by cache.c; merge it into the .c filePhilip Guenther
2016-08-25Replace name_{uid,gid}() with the libc routines user_from_uid() andPhilip Guenther
2016-08-24Make list-like output go to stderr when appending to an archive on stdout.Philip Guenther
2016-08-24Treat cpio's -t option as a modifier to -i, so they're ordering independentPhilip Guenther
2016-08-23Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)Philip Guenther
2016-08-23Only try to set the times on a directory once, at the end, to avoidPhilip Guenther
2016-08-16Add HISTORY.Ingo Schwarze
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-06-23allow creation of devices or fifo without -p (as it is already allowed with -p)Sebastien Marie
2016-06-03new style overlords say to use continue in empty loops.Ted Unangst
2016-04-19Switch from fgetln() to getline() to simplify error handling.Philip Guenther
2016-02-16Ignore trailing slashes and skip over duplicate slashes in chk_path() toPhilip Guenther
2016-02-15To archive a 101 character absolute path in ustar format we mustPhilip Guenther
2016-01-01don't declar main. from Michal MazurekTed Unangst
2015-12-24More adress -> addressmmcc
2015-12-16Replace "tame" by "pledge" in a comment.tb
2015-12-06pledge "dpath" to allow creation of nodes via mkfifo(2) and mknod(2)Theo de Raadt
2015-12-06Use __progname instead of manually handling argv[0].Tobias Stoeckmann
2015-11-17int -> size_t for a len fieldmmcc
2015-10-14Use a strict $PATH of "/usr/bin:/usr/local/bin" to run the (de)compressorsTheo de Raadt
2015-10-12reenable pledge(2) on pax, but only if pmode isn't in use or if actionSebastien Marie
2015-10-12Revert the pledge() call on pax/ar_io.c for now.Sebastien Marie
2015-10-12preservation modes can adjust setugid bits, so no pledge is possible.Theo de Raadt
2015-09-13Describe tar's -p option correctlyPhilip Guenther
2015-05-18Make TAPE=- mean stdout in tarczarkoff
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-03-22rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.Philip Guenther
2015-03-19Use struct timespec internally. This gives nanosecond precision to pax -rwPhilip Guenther
2015-03-17Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsPhilip Guenther
2015-03-15Define chdname once in a .c and make it extern in the .hPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
2015-03-15Using O_TRUNC with O_CREAT|O_EXCL is just confusing: fail if it exists,Philip Guenther
2015-03-15pax -o only accepts 'write_opt=nodir' and not bare 'nodir'Philip Guenther
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-03-12If an archive isn't a recognized type, then check whether it looksPhilip Guenther
2015-03-09Fix comment grammarPhilip 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-02-15Fix two bugs. The first affected tar files with the sameTodd C. Miller
2015-02-12Prevent an archive from esacaping the current directory by itself:Philip Guenther
2015-02-12For tar without -P, if a path in the archive has any ".." components thenPhilip Guenther
2015-02-12Put the dev+ino table for cpio hardlink matching behind #ifndef NOCPIOPhilip Guenther