History log of /openbsd-current/bin/mv/rm.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.11 10-Oct-2016 tedu

don't need to worry about pre/post order and skipping directories.
remove more dead code


# 1.10 10-Oct-2016 tedu

zap extra includes


# 1.9 10-Oct-2016 tedu

remove some more dead code. (previous diff from Jan Stary)


# 1.8 10-Oct-2016 tedu

remove some dead code that's only used in rm


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.7 27-Nov-2015 tedu

the rm code in mv inherited pledge from rm. it shoud be safe, but there
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.


# 1.6 17-Nov-2015 tedu

as in rm, needs getpw in pledge


# 1.5 17-Nov-2015 tedu

don't need locale header anymore


# 1.4 17-Nov-2015 tedu

overwriting code isn't used


# 1.3 17-Nov-2015 tedu

trim down the flags in rm


# 1.2 17-Nov-2015 tedu

remove getopt() from the nested cp and rm mains


# 1.1 17-Nov-2015 tedu

direct copy of cp and rm code into mv, so it can avoid fork+exec.
some or even most of the code can still be streamlined more.
ok deraadt