summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2006-03-25only resolve symlinks in the dirname of rename()'s arguments,Nikolay Sturm
but not in the filename ok provos, no objections from tedu (who doesn't use systrace)
2006-03-25Use correct directory in example.Ray Lai
From Alf Schlichting. OK jmc@ and otto@
2006-03-24Make sure `path' variable is always NUL-terminated.Ray Lai
Totally different diff (but functionally equivalent) by Loic Tortay and okayed by tedu@. ``Looks sane to me'' moritz@
2006-03-23use strdup() instead; adobriyan@gmailTheo de Raadt
2006-03-23give correct err string; adobriyan@gmail.comTheo de Raadt
2006-03-22change %u to %zu to correctly print size_tDavid Hill
ok ray@ jaredy@ moritz@
2006-03-21Call fts_close() when done; from NetBSD's Coverity scan; ok millert@Otto Moerbeek
jaredy@
2006-03-21Revert for the moment, according to Mike Belopuhov this producesOtto Moerbeek
errors in rc and netstart.
2006-03-21Partially revert last commit; jaredy@ showed the NULL deref can'tOtto Moerbeek
happen and tedu@ confirmed this is a known bug in Coverity's analysis.
2006-03-20Fix potential null deref and out-of-bound access.Otto Moerbeek
ok millert@ deraadt@
2006-03-18fix problems found by Coverity via NetBSD:Robert Nagy
- systrace.c: Don't try to dereference pw when it's NULL. Coverity CID 900 - parse.y: free allocated space on failure Coverity CID 1661 - policy.c: Change a return to "goto out" so that fclose will be called. Coverity CID 1881 ok sturm@, ray@
2006-03-17Call fts_close(); from NetBSD's Coverity analysis; ok jaredy@ millert@Otto Moerbeek
2006-03-17off-by-one; inspired by a netbsd coverity fix; ok deraadt@Otto Moerbeek
2006-03-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
behavior the default. Almost all uses of savefd() are followed by an implicit or explicit close. OK otto@
2006-03-15Fix signed/unsigned comparisons by using size_tDavid Hill
Sprinkle some const ok ray@ jaredy@
2006-03-14remove excessive optimization; from adobriyan@gmail; ok teduTheo de Raadt
2006-03-14only santa checks things twice; from adobriyan@gmail; ok teduTheo de Raadt
2006-03-13Interpret zero-filled numbers as decimal; PR 4213; from AlexeyOtto Moerbeek
Dobriyan; ok millert@ moritz@ jaredy@
2006-03-12add a few new translations, partly from NetBSDNikolay Sturm
ok provos@, deraadt@
2006-03-12fix double shell expansion issue found in scp in rcp too; ok deraadtDamien Miller
2006-03-12might as well make ksh_getopt() match real getopt(), ie. get rid of thatTheo de Raadt
stupid EOF concept that was never true. adobriyan@gmail
2006-03-10add missing break; found by lintMoritz Jodeit
ok deraadt@
2006-03-101.36 and onwards did not print extra spaces, but sometimes skipped spaces.Theo de Raadt
we need a proper flag to keep track of space insert requirements thanks for further testing by millert
2006-03-07simplify the description of what a restricted shell is:Jason McIntyre
sh.1 does not need to talk about rksh; ksh.1 does not need to talk about rsh; also references to rpdksh are not really helpful; from tamas tevesz; ok jaredy
2006-03-06convert permanent privilege revocation to use setresuid/setresgid;Damien Miller
ok henning@
2006-03-04Properly take into account that the name and prefix field in the tarOtto Moerbeek
header are not always NUL-terminated. This means there's room for 1 more byte in those field. This effectively reverts revs 1.13 and 1.14; ok jaredy@ millert@
2006-02-06typos from alexey dobriyan;Jason McIntyre
2006-01-26`t' and `X' are now included in posix spec;Jason McIntyre
bump the revision for the latest posix spec; problem reported by jonathan glaschke; ok millert
2006-01-25append without a file list should not corrupt a tar file;Markus Friedl
report Rainer Giedat; ok millert@
2006-01-25some warning reductionTed Unangst
2006-01-25an old diff from tech to convert to using strtonum and some other miscTed Unangst
cleanup. from ray at cyth net
2006-01-08make the description of the first example a little more informative;Jason McIntyre
2006-01-03tar and ustar formats have 8gb limit;Jason McIntyre
from peter philipp; ok otto
2006-01-01add PTRACE and RTHREADS definesNikolay Sturm
ok miod
2005-12-22if in eject mode, do not include command name in error output; bug spotted ↵Theo de Raadt
by drahn
2005-12-20Make "cksum -c" grok checklists generated with cksum, sum and sysvsum.Todd C. Miller
OK deraadt@
2005-12-17Avoid sign extend when writing time stamps; fixes "tar: Ustar headerOtto Moerbeek
field is too small for foo" error messages when writing files with negative time stamps on 64 bit archs. ok millert@ deraadt@
2005-12-11fix a few name clashes with libc; found by lint. ok deraadt@Otto Moerbeek
2005-12-11remove unused variables and functionsTheo de Raadt
2005-12-11unused code and variablesTheo de Raadt
2005-12-06make the PS1 section a little easier to read;Jason McIntyre
2005-12-02Make usage() and manual match. OK jmc, deraadtChad Loder
2005-11-30document root PS1 feature:Jason McIntyre
from matthias kilian (pr #4924), but slightly tweaked version of his diff; ok otto
2005-11-30timezone -> time zoneJason McIntyre
2005-11-30another unused variable found by lintTheo de Raadt
2005-11-29kill unused var found by lint. ok deraadt@Otto Moerbeek
2005-11-29add an option -j which suppresses setting the clock, but parses the dateDaniel Hartmeier
argument. useful to convert string-to-epoch (with +%s) or just to check whether the argument is parsed correctly before really setting the clock. ok millert@, deraadt@
2005-11-25do not exit from ls_main() but return; spotted by lintTheo de Raadt
2005-11-25BINOWN and BINMODE is not needed hereTheo de Raadt
2005-11-16document the procedure for providing a startup file for interactiveJason McIntyre
(but non-login) shells; document /etc/ksh.kshrc and sort FILES; fix + ok otto@