summaryrefslogtreecommitdiffstats
path: root/bin/rm
AgeCommit message (Expand)AuthorFilesLines
2019-09-02More correction of section 3 layout. directory->opendir, fts->fts_open,deraadt1-3/+3
2018-03-31Clarify that -P only *attempts* overwriting, which may not succeed;schwarze1-3/+3
2017-06-28add -v to SYNOPSIS and STANDARDS;jmc1-3/+3
2017-06-27fix a few lines of unusual lengthtedu1-4/+4
2017-06-27add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,tedu2-10/+22
2016-10-14delete useless setlocale(3);schwarze1-5/+2
2016-06-28revert previous. better fix applied to fts_open.tedu1-6/+3
2016-06-28don't report errors for 'rm -rf ""'. report by rkitover.tedu1-3/+6
2016-04-15don't allow removal of /. more robust approach involving stat this time.tedu2-4/+13
2016-02-01style nit - do not add a space between function name and bracketgsoares1-3/+3
2015-11-17Missing "getpw" pledges, these were unnoticed because nobody expectsderaadt1-3/+3
2015-10-13revert previous. changes the behaviour of:daniel2-25/+14
2015-10-11Don't allow "rm -rf /"daniel2-14/+25
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-5/+5
2015-10-08the -P flag overwrites files, so it needs tame "stdio rpath wpath cpath".deraadt1-1/+9
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-3/+5
2014-05-25- it seems our notes that posix require rm to behave like rmdir for directoriesjmc1-23/+7
2014-05-21Use errc/warnc to simplify code.guenther1-2/+2
2013-04-23handle large ino_tderaadt1-3/+3
2012-09-05overwrite with random stream; a repeating chunk of random data isn'tnaddy1-2/+2
2012-09-05use "MS-DOS", for consistency with other docs;jmc1-3/+3
2012-09-04one random overwrite is sufficient, after some discussion on techtedu2-23/+14
2012-06-18Polish the rm -rP turd: if the fts_* routines have lstat()'ed theguenther1-3/+7
2012-06-18Fix potential symlink race condition in "rm -P" by adding a checkmillert1-3/+10
2010-10-04- rearrange STANDARDS slightly to read betterjmc1-19/+18
2010-09-03add an EXIT STATUS section for /bin;jmc1-3/+3
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc1-4/+4
2008-06-10do not ask the "override?" question if access fails for other resaons thanotto1-3/+4
2007-06-06Unlink files with multiple links when -P flag is specified insteadray2-9/+7
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-29- consistent STANDARDS blurbjmc1-7/+12
2007-05-19simplify the description of -R; from Jeffrey 'jf' Limjmc1-3/+2
2007-02-16change [-f | -i] to [-fi]: although technically not as correct, it isjmc1-4/+3
2006-09-21reword a sentence so we are not discussing lfs; help from pedrojmc1-3/+3
2006-03-21Call fts_close() when done; from NetBSD's Coverity scan; ok millert@otto1-2/+3
2005-08-30remove -W from synopsis;jmc1-3/+3
2005-06-14whiteouts are gonemillert2-35/+10
2004-06-02outline PASS; use size_t for sizes; better error message.otto1-22/+26
2004-05-31better error handling with -P option. from freebsd (bde@)tedu1-14/+21
2003-11-21kill comma splice; from Jared Yanovich;jmc1-9/+9
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert2-13/+5
2003-05-30merge COMPATIBILITY into STANDARDS;jmc1-3/+3
2003-03-12more .Lideraadt1-4/+4
2003-01-11Attempt to do something reasonable when overwrite mode is combinedhugh2-3/+9
2002-09-18fix Xr refs; frisco@blackant.netderaadt1-2/+2
2002-07-04ansideraadt1-18/+9
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-8/+8
2002-02-11Initial patch.mpech1-4/+5
2002-01-24restore a little bit of historical materialmickey1-1/+11