Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-28 | add -v to SYNOPSIS and STANDARDS; | Jason McIntyre | |
2017-06-27 | fix a few lines of unusual length | Ted Unangst | |
2017-06-27 | add a -v verbose flag to cp, mv, and rm. useful for monitoring progress, | Ted Unangst | |
and present on several other systems. some ok, some less ok. from Job Snijders | |||
2016-10-14 | delete useless setlocale(3); | Ingo Schwarze | |
noticed by Jan Stary <hans at stare dot cz>; return from main while here; feedback and OK tb@, OK martijn@ | |||
2016-06-28 | revert previous. better fix applied to fts_open. | Ted Unangst | |
2016-06-28 | don't report errors for 'rm -rf ""'. report by rkitover. | Ted Unangst | |
ok benno deraadt | |||
2016-04-15 | don't allow removal of /. more robust approach involving stat this time. | Ted Unangst | |
posix uses the language "resolves to the root directory" in this case. ok millert | |||
2016-02-01 | style nit - do not add a space between function name and bracket | Gleydson Soares | |
from Edgar Pettijohn <edgar at pettijohn-web.com> fix another similar space in line 127. (pointed out by/OK jung@) OK tb@ jung@ | |||
2015-11-17 | Missing "getpw" pledges, these were unnoticed because nobody expects | Theo de Raadt | |
a user_from_uid(3) call... | |||
2015-10-13 | revert previous. changes the behaviour of: | Daniel Dickman | |
rm -f "" | |||
2015-10-11 | Don't allow "rm -rf /" | Daniel Dickman | |
Patch from Theo Buehler who was inspired by watching Bryan Cantrill in BSD Now 103. Minor tweak from me to turn the complained variables into flags instead of counters. "i think it's ok" tedu@ "this isn't 1980 anymore" deraadt@ ok millert@ | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-08 | the -P flag overwrites files, so it needs tame "stdio rpath wpath cpath". | Theo de Raadt | |
the remaining code paths can use tame "stdio rpath cpath". One again, the "cpath" request says a path-based system call will be used to "change" filesystem pathname layout, for instance any of O_CREAT, symlink, rename, unlink... | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-05-25 | - it seems our notes that posix require rm to behave like rmdir for directories | Jason McIntyre | |
is plain wrong: remove it. the note in posix spec is misleading, to be fair - most of the rest of notes in STANDARDS are really historical notes (admittedly caused by the standards i guess) so move them into HISTORY. debatable, yes, but leaves STANDARDS consistent. HISTORY is a hodge podge anyway, by neccesity. - while there, fix a sentence splice in BUGS sobrado agrees with the removal of the rmdir note; millert oks the diff | |||
2014-05-21 | Use errc/warnc to simplify code. | Philip Guenther | |
ok jca@ krw@ | |||
2013-04-23 | handle large ino_t | Theo de Raadt | |
2012-09-05 | overwrite with random stream; a repeating chunk of random data isn't | Christian Weisgerber | |
random at all ok tedu@ | |||
2012-09-05 | use "MS-DOS", for consistency with other docs; | Jason McIntyre | |
2012-09-04 | one random overwrite is sufficient, after some discussion on tech | Ted Unangst | |
2012-06-18 | Polish the rm -rP turd: if the fts_* routines have lstat()'ed the | Philip Guenthe | |
directory entry then use the struct stat from that instead of doing it again, and skip the rm_overwrite() call if fts_read() indicated that the entry couldn't be a regular file. ok millert@ | |||
2012-06-18 | Fix potential symlink race condition in "rm -P" by adding a check | Todd C. Miller | |
that the file we have opened is the one we expected. Also open in non-blocking mode to avoid a potential hang with FIFOs. Reported by Radoslaw A. Zarzynski. Fix adapted from NetBSD. OK guenther@ | |||
2010-10-04 | - rearrange STANDARDS slightly to read better | Jason McIntyre | |
- remove a stray .Pp | |||
2010-09-03 | add an EXIT STATUS section for /bin; | Jason McIntyre | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-02-08 | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | Jason McIntyre | |
updates to follow; | |||
2008-06-10 | do not ask the "override?" question if access fails for other resaons than | Otto Moerbeek | |
EACCES. From Tim van der Molen; ok millert@ ray@ | |||
2007-06-06 | Unlink files with multiple links when -P flag is specified instead | Ray Lai | |
of just warning and skipping the file. OK millert and jmc. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-29 | - consistent STANDARDS blurb | Jason McIntyre | |
- note which options are extensions to POSIX discussed w/ deraadt otto millert | |||
2007-05-19 | simplify the description of -R; from Jeffrey 'jf' Lim | Jason McIntyre | |
2007-02-16 | change [-f | -i] to [-fi]: although technically not as correct, it is | Jason McIntyre | |
simpler (clearer), and matches cp(1), mv(1), posix, and even usage(); | |||
2006-09-21 | reword a sentence so we are not discussing lfs; help from pedro | Jason McIntyre | |
2006-03-21 | Call fts_close() when done; from NetBSD's Coverity scan; ok millert@ | Otto Moerbeek | |
jaredy@ | |||
2005-08-30 | remove -W from synopsis; | Jason McIntyre | |
from nikolay kalev; ok deraadt@ | |||
2005-06-14 | whiteouts are gone | Todd C. Miller | |
2004-06-02 | outline PASS; use size_t for sizes; better error message. | Otto Moerbeek | |
ok millert@ tedu@ | |||
2004-05-31 | better error handling with -P option. from freebsd (bde@) | Ted Unangst | |
ok beck@ otto@ | |||
2003-11-21 | kill comma splice; from Jared Yanovich; | Jason McIntyre | |
also, put example description before the example, and indent example; | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-30 | merge COMPATIBILITY into STANDARDS; | Jason McIntyre | |
2003-03-12 | more .Li | Theo de Raadt | |
2003-01-11 | Attempt to do something reasonable when overwrite mode is combined | Hugh Graham | |
with hard links, and document it. In consultation with dynamo and approved by millert. | |||
2002-09-18 | fix Xr refs; frisco@blackant.net | Theo de Raadt | |
2002-07-04 | ansi | Theo de Raadt | |
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2002-02-11 | Initial patch. | Mike Pechkin | |
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok | |||
2002-01-24 | restore a little bit of historical material | Michael Shalayeff | |
2001-12-21 | Initial patch for a new mdoc issue. | Mike Pechkin | |
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok | |||
2001-11-13 | o) start new sentence on a new line; | Mike Pechkin | |
o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok; |