Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-20 | Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or | Theo de Raadt | |
delete <sys/param.h> if now possible ok guenther | |||
2015-01-19 | remove #ifndef #define blocks trying to handle lack of BUFSIZ | Theo de Raadt | |
ok millert | |||
2015-01-19 | cleanup of the SMALL hiding from Mathias Svensson | Theo de Raadt | |
2015-01-19 | cleanup sys/param.h comment | Theo de Raadt | |
2015-01-16 | Document behavior of killing process 0, matching the text in kill(2). | Todd C. Miller | |
From Theo Buehler | |||
2015-01-16 | remove useless escaping; mandoc warned about some of this | Ingo Schwarze | |
2015-01-16 | Properly escape punctuation when given as an argument to a macro; | Ingo Schwarze | |
this was the only mandoc warning in src/bin. | |||
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) | |||
2015-01-16 | move to PATH_MAX, etc; normalize includes for life in the <limits.h> universe | Theo de Raadt | |
ok guenther millert | |||
2015-01-15 | remove .Tn; from Jan Stary <hans at stare dot cz> | Ingo Schwarze | |
2015-01-05 | use the correct read count when determining how swabbing is necessary. | Ted Unangst | |
bug report from Martin Wolters | |||
2015-01-05 | simplify realloc loop by not using realloc. we don't care about old data, | Ted Unangst | |
so don't make realloc copy it. just allocate what we need. ok deraadt guenther | |||
2014-12-14 | Remove unused <stdlib.h> | Brian Callahan | |
ok lteo@ krw@ deraadt@ | |||
2014-12-13 | Sort members by size to reduce structure padding | Philip Guenther | |
2014-12-13 | Add .Xr to chflagsat(2) | Philip Guenther | |
2014-12-13 | Correct the handling of symbolic links by chmod/chgrp/chown/chflags, | Philip Guenther | |
making them more resistant to TOCTOU race conditions too. ok tobias@ | |||
2014-12-13 | Properly validate ranges: | Tobias Stoeckmann | |
- avoid out of boundary access on very short program names - fix compiler warning when converting values between 0 and INT_MAX ok deraadt, millert | |||
2014-12-12 | Range check the value of the base for typeset -i base x=y. Instead of | Jonathan Gray | |
erroring for values outside of the range switch to base 10 to match the behaviour of ksh93. As we have a smaller digit alphabet than ksh93 the accepted range is smaller (2-36) than ksh93 (2-64). The other form of setting a base, typeset -i x=base#y already has a range check that errors (as ksh93 also does for that syntax). Fixes a crash found with the afl fuzzer. | |||
2014-12-11 | use a local swapbytes function instead of relying on undefined | Ted Unangst | |
overlapping swab behavior. vaguely ok kettenis | |||
2014-12-09 | put back some information what the character classes actually mean; | Ingo Schwarze | |
while here, remove the lie that regex(3) character classes would depend on the locale; ok jmc@ | |||
2014-12-09 | no more ctype(3); | Jason McIntyre | |
2014-12-08 | Don't need special complex rand vs arc4random code. If the | Theo de Raadt | |
standards-mandated "seed" method is used, simply call srand_deterministic() and the subsystem switches out of strong random mode into C89 crap mode. ok millert | |||
2014-12-08 | fix crash when trying to apply ++ without an lvalue; ok millert@ jsg@ | Otto Moerbeek | |
2014-12-04 | obvious cases of missing NAME .Nm entries | Ingo Schwarze | |
2014-12-04 | document some more commands that are POSIX extensions. ok jmc@ | Daniel Dickman | |
2014-12-04 | Allow POSIX 0i; from Jeremy Mates. | Daniel Dickman | |
Tested to match gnu by sobrado@; on solaris you probably need to use xpg6 utils to get this behaviour. ok krw@, deraadt@. | |||
2014-12-02 | Remove prototypes for functions that were already removed. | Todd C. Miller | |
From Benjamin Scher Purcell. | |||
2014-12-02 | posix fix: should behave like [ when invoked as /bin/[ | Ted Unangst | |
matches freebsd and other implementations ok deraadt millert | |||
2014-12-02 | The t.t test is missing and so the t.* test is not being run. | Daniel Dickman | |
Reconstruct a passing t.t based on the input data (t.d) and the expected result (t.r). | |||
2014-11-26 | Prefer setvbuf() to setlinebuf() for portability; ok deraadt@ | Todd C. Miller | |
2014-11-26 | document in STANDARDS that we do not mark eols with $; | Jason McIntyre | |
originally reported by ezequiel garz?n | |||
2014-11-23 | Don't pull in <tzfile.h> just for a number that's hardcoded in the C standard | Philip Guenther | |
2014-11-23 | Use PATH_MAX from <limits.h> instead of MAXPATHLEN from <sys/param.h> | Philip Guenther | |
Eliminate a couple unneeded #includes | |||
2014-11-23 | Don't leak the fds for "." and the tty to the compression process | Philip Guenther | |
2014-11-20 | remove sys/file.h includes in favor of fcntl.h where needed. | Ted Unangst | |
ok deraadt guenther | |||
2014-11-20 | Don't allow embedded nul characters in strings. | Jonathan Gray | |
Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | |||
2014-11-16 | Correct an allocation size (was too large) by using sizeof(*ptr) | Philip Guenther | |
instead of sizeof(type). diff from Nicolas Bedos (nicolas.bedos (at) gmail.com) | |||
2014-11-16 | Convert the logic in yyerror(). Instead of creating a temporary | Alexander Bluhm | |
format string, create a temporary message. OK doug@ | |||
2014-11-14 | Add gcc printf format attributes to yyerror() in parse.y files. | Doug Hogan | |
No yyerror() calls needed to be changed. ok bluhm@ | |||
2014-10-25 | Remove unnecessary netinet/in_systm.h include. | Lawrence Teo | |
ok millert@ | |||
2014-10-17 | no need for realloc() front ends anymore | Theo de Raadt | |
2014-10-16 | Use reallocarray() and remove a few archaic memory allocation practices. | Theo de Raadt | |
ok deraadt | |||
2014-10-16 | Kill the alloc command, which tried to measure behaviour based on sbrk. | Theo de Raadt | |
Discussed with guenther. | |||
2014-10-13 | remove unused variable | Charles Longeau | |
ok guenther@ | |||
2014-10-13 | Remove duplicate and misleading vcmp() prototype; | Ingo Schwarze | |
patch from Martin <Natano at natano dot net>; ok deraadt | |||
2014-10-13 | jmc@ found another manpage i broke when i touched inetd. | David Gwynne | |
use kill -HUP 1 as an example of a hangup signal that does something useful and non-contrived. ok jmc@ | |||
2014-10-06 | In case of invalid syntax like "chmod -Pr -w tf" (trailing mode letter | Ingo Schwarze | |
in a group of option letters), do not silently ignore the syntax error and do something undefined, but instead error out properly. Found because miod@ said "read the code" (not to me, though). ok doug@ | |||
2014-09-14 | Error out when negative values are given for sizes on the command line. | Ingo Schwarze | |
Do not error out when the maximum permissible value is given, but only when it is exceeded. Patch from William Orr <will at worrbase dot com> using feedback from tedu@. ok millert@ | |||
2014-09-13 | Replace all queue *_END macro calls except CIRCLEQ_END with NULL. | Doug Hogan | |
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@ | |||
2014-09-08 | obvious cases of missing .An; | Ingo Schwarze | |
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes |