summaryrefslogtreecommitdiff
path: root/bin/mv/rm.c
AgeCommit message (Collapse)Author
2016-10-10don't need to worry about pre/post order and skipping directories.Ted Unangst
remove more dead code
2016-10-10zap extra includesTed Unangst
2016-10-10remove some more dead code. (previous diff from Jan Stary)Ted Unangst
2016-10-10remove some dead code that's only used in rmTed Unangst
2015-11-27the rm code in mv inherited pledge from rm. it shoud be safe, but thereTed Unangst
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.
2015-11-17as in rm, needs getpw in pledgeTed Unangst
2015-11-17don't need locale header anymoreTed Unangst
2015-11-17overwriting code isn't usedTed Unangst
2015-11-17trim down the flags in rmTed Unangst
2015-11-17remove getopt() from the nested cp and rm mainsTed Unangst
2015-11-17direct copy of cp and rm code into mv, so it can avoid fork+exec.Ted Unangst
some or even most of the code can still be streamlined more. ok deraadt