opnsense-src/lib/libc/stdlib
Jason Evans 0c21f9eda7 Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), and
determine its value at run time according to other relevant values.  This
avoids the creation of runs that are incompletely utilized, as long as
pagesize isn't too large (>32kB, given the current RUN_MIN_REGS_2POW
setting).

Increase the size of several structure bitfields in arena_run_t in order
to avoid integer overflow in the case that a run's header does not overlap
with the space that is usable as application allocation regions.  Given
the tiny_min_2pow change, this fix has no additional impact unless
pagesize is >32kB.

Reported by:	kris
2006-03-24 22:13:49 +00:00
..
_Exit.c
a64l.3 Fix typo in manual page reference. 2006-02-26 23:01:11 +00:00
a64l.c Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert 2005-12-24 22:37:59 +00:00
abort.3
abort.c Move the declaration of __cleanup to libc_private.h as it is used in both 2005-09-12 13:46:32 +00:00
abs.3
abs.c
alloca.3
atexit.3
atexit.c
atexit.h
atof.3
atof.c
atoi.3
atoi.c
atol.3
atol.c
atoll.c
bsearch.3
bsearch.c
div.3
div.c
exit.3 Sort SEE ALSO references (in dictionary order, ignoring case). 2004-07-04 20:55:50 +00:00
exit.c Move the declaration of __cleanup to libc_private.h as it is used in both 2005-09-12 13:46:32 +00:00
getenv.3 Sort sections. 2005-01-20 09:17:07 +00:00
getenv.c
getopt.3 Use #include <unistd.h> rather than the explicit externs in the 2004-07-31 01:00:50 +00:00
getopt.c
getopt_long.3 Sort sections. 2005-01-20 09:17:07 +00:00
getopt_long.c Keep it sync with OpenBSD: 2004-07-06 13:58:45 +00:00
getsubopt.3
getsubopt.c
grantpt.3
grantpt.c Remove extra slash from pty slave device name returned by ptsname. 2006-02-13 00:04:04 +00:00
hcreate.3 Sort sections. 2005-01-20 09:17:07 +00:00
hcreate.c
heapsort.c
imaxabs.3
imaxabs.c
imaxdiv.3 mdoc(7) police: fixed typos and minor markup nits. 2001-11-21 16:19:50 +00:00
imaxdiv.c
insque.3
insque.c
l64a.c Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert 2005-12-24 22:37:59 +00:00
labs.3
labs.c
ldiv.3
ldiv.c
llabs.3
llabs.c
lldiv.3
lldiv.c
lsearch.3 Sort sections. 2005-01-20 09:17:07 +00:00
lsearch.c
Makefile.inc Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3) 2006-03-14 16:57:30 +00:00
malloc.3 Modify allocation policy, in order to avoid excessive fragmentation for 2006-03-17 09:00:27 +00:00
malloc.c Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), and 2006-03-24 22:13:49 +00:00
memory.3
merge.c Fix some signed/unsigned comparisons. Fix prototypes while I'm here. 2005-01-12 03:39:34 +00:00
posix_memalign.3 In preparation for a new malloc implementation: 2006-01-12 07:28:21 +00:00
putenv.c
qsort.3 Sort sections. 2005-01-20 09:17:07 +00:00
qsort.c
qsort_r.c
radixsort.3 Mechanically kill hard sentence breaks. 2004-07-02 23:52:20 +00:00
radixsort.c
rand.3 sranddev() is not magic pixie dust. While it gives a good random 2004-11-10 17:25:49 +00:00
rand.c
random.3 Sort sections. 2005-01-20 09:17:07 +00:00
random.c
reallocf.c
realpath.3
realpath.c
remque.c
setenv.c
strfmon.3
strfmon.c Include a couple of headers to ensure consistency between the prototype and 2005-09-12 19:52:42 +00:00
strtod.3 Sort sections. 2005-01-20 09:17:07 +00:00
strtoimax.c Whitespace/style tweaking of prev. commit. 2005-01-21 13:31:02 +00:00
strtol.3 Especially mention that setting errno to EINVAL in "no conversion" case 2005-01-22 18:02:58 +00:00
strtol.c Whitespace/style tweaking of prev. commit. 2005-01-21 13:31:02 +00:00
strtoll.c Whitespace/style tweaking of prev. commit. 2005-01-21 13:31:02 +00:00
strtonum.3 Add a non-optional newline after ".Bx". 2006-03-15 14:45:45 +00:00
strtonum.c POSIXed strtoll() (and ours one too) can set errno to EINVAL, so check 2006-03-14 19:53:03 +00:00
strtoq.c
strtoul.3 Especially mention that setting errno to EINVAL in "no conversion" case 2005-01-22 18:02:58 +00:00
strtoul.c Whitespace/style tweaking of prev. commit. 2005-01-21 13:31:02 +00:00
strtoull.c Whitespace/style tweaking of prev. commit. 2005-01-21 13:31:02 +00:00
strtoumax.c Whitespace/style tweaking of prev. commit. 2005-01-21 13:31:02 +00:00
strtouq.c
Symbol.map Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3) 2006-03-14 16:57:30 +00:00
system.3
system.c
tdelete.c
tfind.c
tsearch.3 Sort sections. 2005-01-20 09:17:07 +00:00
tsearch.c
twalk.c