Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2014-08-27 | promote "times" to posix special built-in; | Jason McIntyre | |
ok guenther | |||
2014-08-25 | Delete secret or secret-derived data with explicit_bzero. | Doug Hogan | |
concept ok deraadt@ diff looks ok tedu@ | |||
2014-08-17 | update the built-ins list: | Jason McIntyre | |
- "times" is both promoted to posix and special (ooh!) - "pwd" is promoted to posix, but not special (aah!) while here, jiggle the text somewhat to clarify that "non-POSIX" actually meant when posix mode is off, not mandated by posix joint work with guenther | |||
2014-08-16 | reduce cutoff for "hours only" start times to reduce window of ambiguity. | Ted Unangst | |
ok deraadt | |||
2014-08-11 | Still need to separately set FD_CLOEXEC if the new fd was >= FDBASE. | Philip Guenther | |
Affects scripts that directly use 9 of the first 10 fds. noted by miod@ | |||
2014-08-10 | Only need <stdint.h> and not all of <inttypes.h> here | Philip Guenther | |
2014-08-10 | Replace F_DUPFD followed by setting FD_CLOEXEC with just F_DUPFD_CLOEXEC | Philip Guenther | |
ok matthew@ millert@ | |||
2014-08-10 | Add F_DUPFD_CLOEXEC handling | Philip Guenther | |
2014-08-10 | Add newer errnos | Philip Guenther | |
2014-08-09 | Switch from calloc() to reallocarray() where the zeroing isn't needed | Philip Guenther | |
2014-07-21 | don't try to be clever and name the _PATH_CP exec "mv", since this | Theo de Raadt | |
breaks the instbin argv[0] mechanism found by landry, ok guenther | |||
2014-07-20 | Make sure the correct errno is reported by warn* or err* and not | Philip Guenther | |
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) |