summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2003-04-02strlcpy; millert okTheo de Raadt
2003-03-28little cleanup;Jason McIntyre
systrace(1) ok provos@
2003-03-23Do not closed stdin; Andrey MatveevTodd C. Miller
2003-03-21Fix %mem output in ps, sysctl method of getting mempages returns numberDale Rahn
of bytes of memory, not number of pages of memory. Divide the result by pagesize. PR 3164 ok david@ millert@
2003-03-21Fix some typos in comments; Patrick LatifiTodd C. Miller
2003-03-20typos;Jason McIntyre
from NetBSD (Soren Jacobsen) ok millert@
2003-03-18use .Cm for flags without dashDavid Krause
ok miod@ jmc@
2003-03-14document the -f flagJason McIntyre
remove the -t flag (it was an alias to -f) document that eject ignores $TAPE doc suggestion from Ross Richardson -t removal suggested by millert@ fixes PR 3143 ok millert@
2003-03-14better document how getopts handles options;Jason McIntyre
plus typos; from J.A. Neitzel; Fixes PR 3141; ok millert@
2003-03-14tweaks;Jason McIntyre
echos -> echoes from millert@ ok millert@
2003-03-13Use the return value of strcpy() to detect ENAMETOOLONG instead ofTodd C. Miller
doing an extra strlen; deraadt@ OK
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2003-03-13a few strcpy -> strlcpy; a couple people have mailed in a variety ofTheo de Raadt
patches, and i already had this sitting on my laptop at that time.. i used that as a chance to note that we had all done the same work, more or less
2003-03-13Cast 3 to size_t to shut up stupid gcc on 64bit platforms.Todd C. Miller
2003-03-12Add -c option similar to GNU md5sum.Todd C. Miller
Original patch from zyrnix but significantly modified by me. deraadt@ OK
2003-03-12more .LiTheo de Raadt
2003-03-12use .Li moreTheo de Raadt
2003-03-11use file system consistently. spot by margaridaTed Unangst
2003-03-10double words in commentsDavid Krause
ok millert@
2003-03-10spelling fixesDavid Krause
ok millert@
2003-03-09grammar fixesDavid Krause
ok millert@
2003-03-08duplicate include; andrushock@pisem.netTheo de Raadt
2003-03-07spelling errors/typosDavid Krause
ok jmc@
2003-03-06broken .Xr's;Jason McIntyre
typos, rather than dead references ok deraadt@
2003-03-04do not use angle brackets for error indication; christosTheo de Raadt
2003-02-28typos; from Brian PooleJason McIntyre
2003-02-26clarify that eject works on other mediaTed Unangst
ok millert@
2003-02-26remove double word stutteringDavid Krause
ok henning@
2003-02-20Fix a crash in the systrace found by form@Artur Grabowski
One is a kernel fix that changes the lockin and one is a userland fix that prevents dereferencing a freed pointer. From provos deraadt@ ok
2003-02-19Back out documentation for (currently) non-existent -c option thatTodd C. Miller
got committed by accident in the license update.
2003-02-19oops; delete it, don't just shuffleTed Unangst
2003-02-19LFS is dead. saves some space on install floppies too.Ted Unangst
ok deraadt@
2003-02-18intial -> initial;Jason McIntyre
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@
2003-02-18copyrights added;Jason McIntyre
ed(1): Andrew Moore patch(1): Larry Wall (thanks espie@ for help with this one) units(1): Adrian Mariano
2003-02-14Add a 2-clause BSD license. These files are based on the md5.1Todd C. Miller
from FreeBSD which says it is public domain so there should be no license conflict.
2003-02-03typos;Jason McIntyre
from netbsd(svs+pr@grep.ru) suggested by deraadt@
2003-01-14Report read() errors; noticed and OK by fgs@Todd C. Miller
2003-01-11Attempt to do something reasonable when overwrite mode is combinedHugh Graham
with hard links, and document it. In consultation with dynamo and approved by millert.
2003-01-10Don't ftruncate after write error, creating sparse files of incorrect lengthDamien Miller
mindrot bug #403, reported by rusr@cup.hp.com; ok markus@
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,Theo de Raadt
this fixes at least 15 buffer overflows; some help from dhartmei. Anyone want to go do the same in ksh, and help with some of the while (*s++ = *p++) loops in here?
2003-01-06Set 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
2003-01-05work around a very rare div by 0 that should not happen, but can happen onTheo de Raadt
non-IEEE systems apparently. like the vax. this is in the same area of code that has caused us problems with the 68060/68040 before; very curious, and i don't know why.
2003-01-04spellingTheo de Raadt
2002-12-19add dsiz and ssiz to accompany tsiz; millert@ okMichael Shalayeff
2002-12-12Allow the log directive to work for non-translated syscalls as well.Anil Madhavapeddy
provos ok
2002-12-11rename log->dolog, from thorpej@netbsd, ok provosAnil Madhavapeddy
2002-12-09Restriction that -c args must be numeric. Motivation on privilege elevation.Ian Darwin
Environment variables (HOME,USER,CWD). File name details. Style fixes. ok provos@
2002-12-09add support for regular expressions and pidname translations. from provosJun-ichiro itojun Hagino
2002-12-09better parsing of # comments. from provosJun-ichiro itojun Hagino
2002-12-09prevent the use of permit for aliases. from provosJun-ichiro itojun Hagino