Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-08 | Try again. Both -R and -p prevent use of tame, but other cases can use it. | Theo de Raadt | |
2015-10-08 | ah, fchflags. We will come back to this issue later | Theo de Raadt | |
2015-10-07 | We cannot tame if -R is specified, because mknod and mkfifo may be called. | Theo de Raadt | |
But in other cases, we can use tame "stdio rpath wpath cpath fattr", including for the historical -r option. | |||
2015-05-07 | Whoops; missed updating a setfile() call. | Philip Guenther | |
problem reported dcoppa; ok millert@ | |||
2015-05-03 | Preserve times to nanosecond precision instead of just microsecond. | Philip Guenther | |
Prefer to set attributes by fd for regular files, and not follwing symlinks for others. ok brynet@ millert@ | |||
2015-01-19 | cleanup sys/param.h comment | Theo de Raadt | |
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-21 | Use errc/warnc to simplify code. | Philip Guenther | |
ok jca@ krw@ | |||
2014-04-24 | calloc is better. from Peter Malone | Ted Unangst | |
2014-03-19 | there is no need for rcp anymore | Ted Unangst | |
ok deraadt millert | |||
2014-01-29 | same tweak as per ch* utils: for -H, remove brackets in description; | Jason McIntyre | |
the information is pertinent, not an afterthought. | |||
2013-01-18 | command-line (adj.) -> command line (n.); | Jason McIntyre | |
2012-12-04 | remove some unnecessary sys/cdefs.h inclusions | Theo de Raadt | |
2012-08-28 | Don't order file and dir creation, no measurable effect, ffs | Otto Moerbeek | |
allocation strategy has changed since a long time and added to that cp(1) should not try to be smart and guess things it shouldn't know. ok guenther@ krw@ | |||
2012-07-11 | When copying a file sparsely, truncate the resulting file based on the | Matthew Dempsky | |
current seek offset rather than what fstat() reported the original file's length was. This fixes things like "cp /dev/ksyms /tmp" so that we don't truncate the file to 0 bytes after copying all of the data. ok tedu, millert | |||
2012-04-11 | if we ever activate that, this may need fixing | Marc Espie | |
2011-06-23 | set set*id bits only if the target did not exist and -p was not used; | Otto Moerbeek | |
from netbsd, prompted by Jesus Sanchez. ok miller@ | |||
2011-06-15 | consistently specify that -f and -i override previous options in each | Ted Unangst | |
option's description. jmc points out this works better than deferring such information to a post-options sentence. | |||
2011-06-15 | the last of -f or -i is the lucky winner. problem noticed by jan stary. | Ted Unangst | |
text copied from mv, as noticed by otto. | |||
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; | |||
2009-01-04 | replace hardcoded exit values with .Ex macros; | Igor Sobrado | |
ok jmc@ | |||
2007-11-04 | some small nonfunctional tweaks. ok beck millert | Ted Unangst | |
2007-09-22 | warn should return an error message for chmod, not for chown | Igor Sobrado | |
ok millert@ | |||
2007-09-16 | "source" and "target" can be either files or directories; | Igor Sobrado | |
cp(1) and ln(1) must have a synopsis consistent with mkdir(1), mv(1), rmdir(1) and others ok jmc@, millert@, otto@ | |||
2007-07-26 | STDIN_FILENO is better than fileno(stdin); zinovik@cs.karelia.ru | Theo de Raadt | |
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-04-06 | when copying regular files, look for blocks of zeroes. when we see them, | Ted Unangst | |
just lseek ahead to create a sparse file. saves disk and time. note this behavior in the man page. ok? deraadt millert | |||
2006-04-25 | various small lint cleanups; ok otto | Theo de Raadt | |
2006-03-17 | Call fts_close(); from NetBSD's Coverity analysis; ok jaredy@ millert@ | Otto Moerbeek | |
2005-11-09 | Handle dir not readable case. Problem noted by chefren. ok hshoexer@ jaredy@ | Otto Moerbeek | |
2004-12-13 | Only warn if we try to cp(1) a socket. Consequently, this makes | Otto Moerbeek | |
mv(1)ing trees containing sockets across filesystems much more smooth. ok millert@ tedu@ fgsch@ pedro@ deraadt@ | |||
2004-12-10 | sort options + sync usage(); | Jason McIntyre | |
standard EXAMPLES; various other tweaks; ok millert@ | |||
2004-12-07 | Document cp(1) does not preserve hard links. With and ok jmc@ and millert@ | Otto Moerbeek | |
2003-11-24 | madvise mmapped memory (not used code) | Michael Shalayeff | |
2003-10-30 | Fix typo in comment; Bruno Rohee | Todd C. Miller | |
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-07-29 | spacing | Theo de Raadt | |
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-06-01 | Undo a misguided attempt to fix speling errors from long ago. UCB | Todd C. Miller | |
copyrights say "acknowledgement", not "acknowledgment". You cannot just go changing the text of a license willy-nilly. | |||
2003-05-29 | merge COMPATIBILITY into STANDARDS; | Jason McIntyre | |
2003-05-02 | Zap unused STRIP_TRAILING_SLASH macro. | Nils Nordman | |
Ok millert@. | |||
2003-03-13 | Use the return value of strcpy() to detect ENAMETOOLONG instead of | Todd C. Miller | |
doing an extra strlen; deraadt@ OK | |||
2003-03-13 | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | Theo de Raadt | |
2003-03-12 | more .Li | Theo de Raadt | |
2003-01-06 | Set directory mode/user/times on the post-order pass, not pre-order. | Todd C. Miller | |
Fixes a problem with "cp -R" (and probably cp -p) with directories that do not grant the owner write permission. However, we need to know whether or not we created the directory ourselves so stash that fact in fts_pointer (treat it as a boolean) but add a macro to access it for readability. This also allows me to remove the duplicated file times setting code for "cp -p". Closes PR 3058; deraadt@ OK | |||
2002-07-04 | ansi | Theo de Raadt | |