summaryrefslogtreecommitdiffstats
path: root/bin/mv/rm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* don't need to worry about pre/post order and skipping directories.tedu2016-10-101-19/+1
| | | | remove more dead code
* zap extra includestedu2016-10-101-6/+1
|
* remove some more dead code. (previous diff from Jan Stary)tedu2016-10-101-24/+3
|
* remove some dead code that's only used in rmtedu2016-10-101-69/+1
|
* the rm code in mv inherited pledge from rm. it shoud be safe, but theretedu2015-11-271-3/+1
| | | | | | are cases when it is too strict. after pledge() we continue to run some of the cp code which requires a very broad set of permissions. remove pledge entirely for now, pending a complete analysis of needs.
* as in rm, needs getpw in pledgetedu2015-11-171-2/+2
|
* don't need locale header anymoretedu2015-11-171-2/+1
|
* overwriting code isn't usedtedu2015-11-171-82/+1
|
* trim down the flags in rmtedu2015-11-171-82/+29
|
* remove getopt() from the nested cp and rm mainstedu2015-11-171-29/+4
|
* direct copy of cp and rm code into mv, so it can avoid fork+exec.tedu2015-11-171-0/+429
some or even most of the code can still be streamlined more. ok deraadt