Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Crank minor because of addition of wcsto* functions. | 2009-01-13 | 1 | -1/+1 | ||
| | ||||||
* | Add wcstof(3) and wcstold(3). | 2009-01-13 | 5 | -120/+162 | ||
| | | | | ok miod@ | |||||
* | Add wcstoimax(3) and wcstoumax(3). | 2009-01-13 | 3 | -3/+40 | ||
| | | | | ok miod@ | |||||
* | The process number is longer used to replace trailing 'Xs'. | 2009-01-10 | 1 | -4/+3 | ||
| | | | | ok jmc, millert | |||||
* | reintroduce extra malloc protections, but avoiding the use of | 2009-01-03 | 1 | -164/+229 | ||
| | | | | | | PAGE_(SIZE|SHIFT|MASK) defines that evaluate to variables on the sparc architecture; ok otto@ tested on my reanimated ss20 | |||||
* | PAGE_SIZE is not a valid symbol to use in that way. In particular, | 2008-12-31 | 1 | -235/+164 | ||
| | | | | | | | on sparc, it expands to something that just plain does not work, because the page size can be variable. Sorry we didn't spot this before. Backing it all out to allow sparc to build; please find a different way to fix it. | |||||
* | Remove mprotecting of struct dir_info introduced in previous commit | 2008-12-30 | 2 | -46/+4 | ||
| | | | | | | | (MALLOC_OPTIONS=L). It was too slow to turn on by default, and we don't do optional security. requested by deraadt@ grumbling ok otto@ | |||||
* | extra paranoia for malloc(3): | 2008-12-29 | 2 | -165/+278 | ||
| | | | | | | | | | | | | | | | | Move all runtime options into a structure that is made read-only (via mprotect) after initialisation to protect against attacks that overwrite options to turn off malloc protections (e.g. use-after-free) Allocate the main bookkeeping data (struct dir_info) using mmap(), thereby giving it an unpredictable address. Place a PROT_NONE guard page on either side to further frustrate attacks on it. Add a new 'L' option that maps struct dir_info PROT_NONE except when in the allocator code itself. Makes attacks on it basically impossible. feedback tedu deraadt otto canacar ok otto | |||||
* | Fix file descriptor leak in fts_children(); okay dhill@, millert@, | 2008-12-27 | 1 | -2/+4 | ||
| | | | | tedu@, thib@. | |||||
* | repair the ARC4 story; ok jmc djm millert | 2008-12-23 | 1 | -5/+7 | ||
| | ||||||
* | ddb.console does not override machdep.kbdreset, so don't say it does; | 2008-12-23 | 1 | -7/+2 | ||
| | ||||||
* | document yp_maplist(); from Ingo Schwarze | 2008-12-22 | 2 | -7/+23 | ||
| | | | | ok deraadt | |||||
* | The example for detecting malicious PTR records could be easily misinterpreted. | 2008-12-22 | 1 | -5/+4 | ||
| | | | | Make it less ambiguous; ok gilles@ claudio@ | |||||
* | Add man page for wcstol and friends. | 2008-12-20 | 2 | -4/+97 | ||
| | | | | ok jmc@ | |||||
* | Document ENOBUFS for writev(2). | 2008-12-17 | 1 | -2/+4 | ||
| | | | | Okay claudio, deraadt. | |||||
* | shave off more bytes than you expect by declaring a few const local arrays | 2008-12-15 | 1 | -4/+4 | ||
| | | | | as static const | |||||
* | __isinff and __isnanf | 2008-12-12 | 2 | -4/+4 | ||
| | ||||||
* | do the same as was done in mi version: do not include math.h, since isinf, | 2008-12-12 | 2 | -4/+2 | ||
| | | | | and isnan would expand to macros and compatibility aliases won't work | |||||
* | strcpy -> strlcpy; ok mbalmer@ martynas@ | 2008-12-12 | 4 | -8/+14 | ||
| | ||||||
* | - document and mlink frexpf, ldexpf, modff added 13 years ago | 2008-12-12 | 4 | -15/+61 | ||
| | | | | | - document frexpl, ldexpl added recently a tweak and ok jmc@ | |||||
* | no spaces allowed in the macro arguments. completely insanity! | 2008-12-10 | 2 | -4/+4 | ||
| | ||||||
* | use sys/cdefs.h; pointed out by theo | 2008-12-10 | 21 | -42/+42 | ||
| | ||||||
* | use sys/cdefs.h | 2008-12-10 | 2 | -4/+3 | ||
| | ||||||
* | these were not needed | 2008-12-09 | 6 | -12/+6 | ||
| | ||||||
* | ditto frexpl and ldexpl | 2008-12-09 | 15 | -16/+54 | ||
| | ||||||
* | alias fabsl to fabs on these archs | 2008-12-09 | 7 | -7/+23 | ||
| | ||||||
* | remove unused | 2008-12-09 | 6 | -201/+0 | ||
| | ||||||
* | - add long double signbit | 2008-12-09 | 59 | -73/+431 | ||
| | | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@ | |||||
* | bugfix update to gdtoa 2008-10-10. ok millert@, tested by many | 2008-12-09 | 23 | -152/+500 | ||
| | ||||||
* | Commit requested by marco: | 2008-12-09 | 3 | -26/+206 | ||
| | | | | | Add nonblock support for xdrrecs ok millert blambert & otto; from NetBSD. libc bump to follow soon. | |||||
* | fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon | 2008-12-09 | 2 | -7/+7 | ||
| | ||||||
* | Document that ethers_aton returns NULL for invalid addresses. | 2008-12-07 | 1 | -2/+4 | ||
| | | | | Suggested by and ok claudio@, ok jmc@ | |||||
* | Add unix(4) to SEE ALSO. | 2008-11-26 | 1 | -3/+4 | ||
| | | | | ok deraadt | |||||
* | Fix typo, okay jmc@. | 2008-11-26 | 1 | -3/+3 | ||
| | ||||||
* | Correctly jump over routing headers and calculate the size of the if_data | 2008-11-24 | 1 | -7/+14 | ||
| | | | | | | struct in the if_msghdr instead of using sizeof() blindly. This allows us to grow if_data without causing issues for the getifaddrs() users. OK deraadt@ (who needs this for some cool upcomming stuff) | |||||
* | - make the .Nd of link(2) and symlink(2) a bit more consistent | 2008-11-21 | 1 | -3/+3 | ||
| | | | | | | (train trips are soo boring...) ok jmc@ | |||||
* | move allocations between half a page and a page as close to the end of | 2008-11-20 | 2 | -4/+5 | ||
| | | | | | the page as possible (i.e. make malloc option P a default). ok art@ millert@ krw@ | |||||
* | Reduce the leeway malloc allows when moving allocations to the end of | 2008-11-20 | 1 | -2/+2 | ||
| | | | | | a page to 0. P default will be changed in a separate commit. ok millert@ art@ krw@ | |||||
* | To allow for easier playing with more strict settings introduce | 2008-11-13 | 1 | -5/+14 | ||
| | | | | | a separate symbolic constant for the leeway we allow when moving allocations towards the end of a page. No functional change. | |||||
* | avoid a few strlen calls for constant strings; prompted by tg; ok djm@ | 2008-11-12 | 1 | -10/+10 | ||
| | ||||||
* | tweak previous; | 2008-11-09 | 1 | -9/+14 | ||
| | ||||||
* | Document the ddb.trigger sysctl. | 2008-11-08 | 1 | -2/+17 | ||
| | | | | feedback and ok mpf@, deraadt@ | |||||
* | if the freeprot flag (F) is set, do not do delayed frees for chunks | 2008-11-06 | 1 | -6/+10 | ||
| | | | | | | (might catch errors closer to the trouble spot) and junk fill pages just before reuse instead of immediate (we can't access the page anyway) since we set PROT_NONE in the F case. ok djm@ | |||||
* | fix markup of example line and description of G flag; partly from and | 2008-11-02 | 1 | -5/+4 | ||
| | | | | ok jmc@ | |||||
* | remove distinction between warnings and errors, ok deraadt@ djm@ | 2008-11-02 | 2 | -73/+38 | ||
| | ||||||
* | Pass a pointer to warn2 so the warn2 == IN_ALL would not be an | 2008-10-31 | 1 | -2/+2 | ||
| | | | | always-false condition. From FreeBSD (delphij). | |||||
* | if MALLOC_STATS is defined, record how many "cheap reallocs" were | 2008-10-29 | 1 | -1/+8 | ||
| | | | | tried and how many actually succeeded. | |||||
* | some SEE ALSO additions from Ingo Schwarze; | 2008-10-24 | 8 | -16/+24 | ||
| | ||||||
* | Reword description of tm_zone and tm_gmtoff fields | 2008-10-23 | 1 | -6/+10 | ||
| | | | | Prompted by millert@; ok millert@ jmc@ | |||||
* | man page for Makefile.yp, and associated bits; from Ingo Schwarze | 2008-10-22 | 1 | -3/+27 | ||
| | | | | ok deraadt |