summaryrefslogtreecommitdiff
path: root/bin/rm/rm.c
AgeCommit message (Expand)Author
2017-06-27fix a few lines of unusual lengthTed Unangst
2017-06-27add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,Ted Unangst
2016-10-14delete useless setlocale(3);Ingo Schwarze
2016-06-28revert previous. better fix applied to fts_open.Ted Unangst
2016-06-28don't report errors for 'rm -rf ""'. report by rkitover.Ted Unangst
2016-04-15don't allow removal of /. more robust approach involving stat this time.Ted Unangst
2016-02-01style nit - do not add a space between function name and bracketGleydson Soares
2015-11-17Missing "getpw" pledges, these were unnoticed because nobody expectsTheo de Raadt
2015-10-13revert previous. changes the behaviour of:Daniel Dickman
2015-10-11Don't allow "rm -rf /"Daniel Dickman
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-08the -P flag overwrites files, so it needs tame "stdio rpath wpath cpath".Theo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-05-21Use errc/warnc to simplify code.Philip Guenther
2013-04-23handle large ino_tTheo de Raadt
2012-09-05overwrite with random stream; a repeating chunk of random data isn'tChristian Weisgerber
2012-09-04one random overwrite is sufficient, after some discussion on techTed Unangst
2012-06-18Polish the rm -rP turd: if the fts_* routines have lstat()'ed thePhilip Guenthe
2012-06-18Fix potential symlink race condition in "rm -P" by adding a checkTodd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-06-10do not ask the "override?" question if access fails for other resaons thanOtto Moerbeek
2007-06-06Unlink files with multiple links when -P flag is specified insteadRay Lai
2006-03-21Call fts_close() when done; from NetBSD's Coverity scan; ok millert@Otto Moerbeek
2005-08-30remove -W from synopsis;Jason McIntyre
2005-06-14whiteouts are goneTodd C. Miller
2004-06-02outline PASS; use size_t for sizes; better error message.Otto Moerbeek
2004-05-31better error handling with -P option. from freebsd (bde@)Ted Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-01-11Attempt to do something reasonable when overwrite mode is combinedHugh Graham
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-09-06o) __progname aria;Mike Pechkin
2001-06-08Don't give usage warning for 'rm -f' with no files to remove to beTodd C. Miller
1999-01-02indentTheo de Raadt
1999-01-02Fix possible free() of uninitialized pointer.Tobias Weingartner
1998-11-04use optimal xfer block size in rm_overwrite() instead of assuming 8192Aaron Campbell
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-06-18(foo *)NULL -> NULLkstailey
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt