summaryrefslogtreecommitdiff
path: root/bin/pax/ar_io.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2017-03-11switch pax to using pledge tape instead of ioctl.Theo Buehler
2017-01-23Slow down the churn and continue using old pledge name "ioctl" insteadTheo de Raadt
2017-01-23Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyTheo de Raadt
2016-08-26reduce and sort #includesPhilip Guenther
2016-08-23Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)Philip Guenther
2016-08-14Remove many unnecessary casts. Verified by comparing generated code onPhilip Guenther
2016-06-03new style overlords say to use continue in empty loops.Ted Unangst
2015-12-06pledge "dpath" to allow creation of nodes via mkfifo(2) and mknod(2)Theo de Raadt
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-03-22rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.Philip Guenther
2015-03-09Fix comment grammarPhilip Guenther
2014-05-24Delete pointless casts: free() return value to (void), free()'sPhilip Guenther
2014-05-23Archives written with a non-standard blocksize currently show up asPhilip Guenther
2014-05-23Make the signal handler safe: block signals when updating data-structuresPhilip Guenther
2014-05-21Exit with non-zero status if a read is truncated, or if a compressionPhilip Guenther
2014-01-11Add -DNOCPIO option for use by distrib/specialTheo de Raadt
2014-01-08Replace strtoq(), QUAD_MAX, and %qu with their long long equivalentPhilip Guenther
2014-01-08Eliminate poisonous LONG_OFF_T conditionalPhilip Guenther
2014-01-08Rename arguments to avoid shadowing global variablesPhilip Guenther
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-11Add tar -j option that calls bzip2 for compress/decompress. RequiresPeter Valchev
2005-08-04Make pax exit unsuccessfully on errors.Marco Pfatschbacher
2004-06-20Do not go on if the -C option caused a failed chdir. ok millert@ henning@Niklas Hallqvist
2004-04-16spacingTheo de Raadt
2003-09-08fix pr3455 from Joerg.Sonnenberger. slightly improved fix suggested byTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-03typos;Jason McIntyre
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-10-18Pull in some changes from NetBSDTodd C. Miller
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller
2002-10-16Fix comment typos; most from NetBSD and FreeBSDTodd C. Miller
2002-10-16kill registerTodd C. Miller
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-19occured->occurredMike Pechkin
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2000-06-09Some minor cleanup, ok'd millert@Marc Espie
1999-08-04Kill gzip subprocess correctly instead of letting it get a SIGPIPE whenMarc Espie
1998-09-20When invoked as tar, print verbose output to stdout, not stderr. If in list ...Todd C. Miller
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-06-18(foo *)NULL -> NULLkstailey