|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| | silence some warnings. | 
| | 
| 
| 
| | okay guenther@ | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | where appropriate.  Among other things makes the symbols consistent
across all architectures (notably where ldbl mantissa is 53 bits).
While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there
to trick lint into recording the right prototypes for aliased
functions.  Most of the work done at the awesome n2k13 hackathon.
Agreed by kettenis@, guenther@, matthew@. | 
| | 
| 
| 
| | reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov | 
| | 
| 
| 
| | corner cases.  OK millert@. | 
| | 
| 
| 
| | expanded, but not enough due to precedence error. Spotted by Thorsten Glaser. | 
| | 
| 
| 
| | ok guenther millert kettenis | 
| | |  | 
| | 
| 
| 
| | text.  OK deraadt@ | 
| | |  | 
| | 
| 
| 
| 
| | grantpt() and unlockpt() using /dev/ptm.  Man pages from FreeBSD.
OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@ | 
| | 
| 
| 
| 
| 
| | or the special value of 0.
ok deraadt@ otto@ | 
| | 
| 
| 
| 
| 
| | Should make coredumps from abort() easier to debug too.
ok kurt@ | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | unmapping of freed allocations without disabling chunk randomisation
like the "Freeguard" ('F') option does. Make security 'S' option
use 'U' and not 'F'.
Rationale: guarding with no chunk randomisation is great for debugging
use-after-free, but chunk randomisation offers better defence against
"heap feng shui" style attacks that depend on carefully constructing a
particular heap layout so we should leave this enabled when requesting
security options. | 
| | 
| 
| 
| 
| 
| | an empty name, NULL pointer, or a name containing an '=' character.
OK millert@, guenther@ | 
| | |  | 
| | 
| 
| 
| 
| | in working condition anymore (assuming there would be interest in running on
it). | 
| | |  | 
| | 
| 
| 
| 
| | equal, but it is more correct)
from Michal Mazurek | 
| | 
| 
| 
| 
| 
| | Okay otto@.
Found by Michal Mazurek <akfaew at jasminek dot net>, thanks! | 
| | |  | 
| | 
| 
| 
| 
| | param.h symbol reduction.
ok guenther | 
| | 
| 
| 
| | Pointed out by Joachim Schipper (joachim at joachimschipper.nl) | 
| | 
| 
| 
| 
| | Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com)
ok jmc@ | 
| | 
| 
| 
| 
| 
| | scanning for free space if the hint isn't available.
also, on further inspection, this will prevent pmap_prefer from "improving"
our hint. | 
| | 
| 
| 
| 
| 
| | clear out the entire requested area, not just a perfect fit.  second,
use mquery to check for room to avoid getting an address we don't like
and having to send it back. | 
| | 
| 
| 
| 
| 
| | in order to span the the entire cache.  second, on free use the same offset
to put things in the cache instead of always starting at zero.
ok otto | 
| | 
| 
| 
| 
| 
| | overallocating and then releasing unneeded memory pages.
ok otto | 
| | 
| 
| 
| 
| 
| | Update SYNOPSIS for setkey() to show it's in <stdlib.h>
ok jmc@, millert@ | 
| | 
| 
| 
| 
| 
| 
| | and valloc() are not in the current version, while posix_memalign() mkstemp(),
and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'.
ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@ | 
| | 
| 
| 
| 
| | effective result.  its use is NOT discouraged -- it is not
common, but when you need it, there is nothing else that will do. | 
| | 
| 
| 
| 
| | with 0.  Use 1 and not 0 as the first element of the state array,
similar to what glibc does.  OK nicm@ | 
| | 
| 
| 
| 
| 
| | into an bogus pointer error instead of a segfault.
- Document that we use the assumption that a non-MAP_FIXED mmap() with
  hint 0 never returns NULL. | 
| | 
| 
| 
| 
| 
| 
| | the last node is deleted.  Instead, resolve the Coverity warning
by returning (node *)1 when you delete the root node.
based an idea from millert@.  ok otto@ | 
| | 
| 
| 
| 
| | All facts from http://minnie.tuhs.org/cgi-bin/utree.pl, checked by sobrado@.
Feedback and ok jmc@ jmc@ (sic, Jason checked and ok'ed this twice). | 
| | 
| 
| 
| 
| | space for meta data by only allocating space actually needed for
the bitmap (modulo alignment requirements). ok deraadt@ | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | specifically, rewrite them to permit some markup in the column headers,
and use "Ta" instead of literal tabs; mandoc does not currently match groff
100%, but a mandoc fix may be some time off, and we've gone enough releases
with poorly formatting column lists.
in some cases i have rewritten the lists as -tag, where -column made
little sense. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | .Bl -column header1 header2 ... <Bl flags>
mixing things up confuses mandoc, and adding flags in can screw up the list.
this hopefully just makes things a bit safer (and more consistent).
(one more bit of work left and all column lists should format how we want) | 
| | |  | 
| | 
| 
| 
| 
| 
| | is NULL, and third-party software is starting to rely upon this.
Adapted from FreeBSD via Jona Joachim (jaj ; hcl-club , .lu), with minor
tweaks from nicm@ and yours truly. | 
| | 
| 
| 
| | jasper@ | 
| | 
| 
| 
| 
| 
| | a section will help people looking for just the MALLOC_OPTIONS.
ok otto@ jmc@ | 
| | 
| 
| 
| | use-after-free bugs; ok krw@ dlg@ pirofti@ | 
| | |  | 
| | 
| 
| 
| 
| | no security, for consistency.  use of this option is discouraged. :)
ok deraadt guenther millert | 
| | |  | 
| | |  | 
| | |  |