summaryrefslogtreecommitdiff
path: root/bin/pax/pax.c
AgeCommit message (Expand)Author
2023-11-26mark functions as static when they're unused elsewhere, makes theMarc Espie
2023-11-09Tighten pledge in List and Append mode:Klemens Nanni
2023-10-15Pledge once with or without "proc exec", not twiceKlemens Nanni
2023-07-05It isn't portable to use stderr (or std{in,out}) in file-scopePhilip Guenther
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofTodd C. Miller
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andTheo 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-26Don't need <sys/time.h> or "options.h" herePhilip Guenther
2016-08-23Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)Philip Guenther
2016-06-23allow creation of devices or fifo without -p (as it is already allowed with -p)Sebastien Marie
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-10-12preservation modes can adjust setugid bits, so no pledge is possible.Theo de Raadt
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-12Prevent an archive from esacaping the current directory by itself:Philip Guenther
2014-11-23Don't leak the fds for "." and the tty to the compression processPhilip Guenther
2014-05-24Make signal setup clearer via helper function, eliminating a gap inPhilip Guenther
2014-05-23Make the signal handler safe: block signals when updating data-structuresPhilip Guenther
2014-01-09Update pax -v format to match "ls -l": display the year for datesPhilip Guenther
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2012-04-19add newline to signal error messages; Thomas PfaffTheo de Raadt
2011-05-26fix one signal race bug, and mark the others that remain much moreTheo de Raadt
2010-12-02a -N option for tar that uses numeric only IDs, useful for cross systemTed Unangst
2009-10-28Err out if either sigaction fails and not just when both do.Philip Guenthe
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-08-04Make pax exit unsuccessfully on errors.Marco Pfatschbacher
2004-04-16spacingTheo de Raadt
2004-01-20When trying to append to a gzipped archive, print msg using errx(),Otto Moerbeek
2003-10-20typos from Jared Yanovich;Jason McIntyre
2003-06-13Add a -0 flag to make pax use a NUL instead of a newline as theTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller
2002-10-16Fix comment typos; most from NetBSD and FreeBSDTodd 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-11-05mark a zone of signal racesTheo de Raadt
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2001-02-07Honor TMPDIR environment variable and document the fact.Todd C. Miller
2000-06-09Some minor cleanup, ok'd millert@Marc Espie
1998-09-20When invoked as tar, print verbose output to stdout, not stderr. If in list ...Todd C. Miller
1998-07-27pull in string.h for memset() protoTodd C. Miller
1998-06-03zero sigset_t before useTheo de Raadt
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-24Stash fd of cwd instead of using getcwd() to stash path.Todd C. Miller
1997-07-23tabifykstailey