summaryrefslogtreecommitdiff
path: root/bin/rm
AgeCommit message (Expand)Author
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2019-09-02More correction of section 3 layout. directory->opendir, fts->fts_open,Theo de Raadt
2018-03-31Clarify that -P only *attempts* overwriting, which may not succeed;Ingo Schwarze
2017-06-28add -v to SYNOPSIS and STANDARDS;Jason McIntyre
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-25- it seems our notes that posix require rm to behave like rmdir for directoriesJason McIntyre
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-05use "MS-DOS", for consistency with other docs;Jason McIntyre
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
2010-10-04- rearrange STANDARDS slightly to read betterJason McIntyre
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
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
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
2007-05-19simplify the description of -R; from Jeffrey 'jf' LimJason McIntyre
2007-02-16change [-f | -i] to [-fi]: although technically not as correct, it isJason McIntyre
2006-09-21reword a sentence so we are not discussing lfs; help from pedroJason McIntyre
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-11-21kill comma splice; from Jared Yanovich;Jason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-30merge COMPATIBILITY into STANDARDS;Jason McIntyre
2003-03-12more .LiTheo de Raadt
2003-01-11Attempt to do something reasonable when overwrite mode is combinedHugh Graham
2002-09-18fix Xr refs; frisco@blackant.netTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-02-11Initial patch.Mike Pechkin