summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2009-02-13kill whitespace at eol;Jason McIntyre
2009-02-13decribe 'F' better and mention flags are debugging aids; ok tedu@ jmc@Otto Moerbeek
2009-02-11Avoid level going negative on deep (i mean really deep) dirs. ReportedOtto Moerbeek
by Maksymilian Arciemowicz. ok kettenis@ millert@
2009-02-10correct function definitions; from Markus BergkvistJason McIntyre
2009-01-31fix typoPierre-Yves Ritschard
ok jmc@
2009-01-30Change section: we're talking about the symlink system call, not thePhilip Guenthe
generic symlink info ok jmc@
2009-01-30tweak previous;Jason McIntyre
2009-01-29Update to reflect renaming of the st_[acm]timespec members to st_[acm]timPhilip Guenthe
per the POSIX 1003.1-2008 spec. Also, tweak the information about what system calls hit which timestamps ok jmc@
2009-01-29from Yoshihiko Sarumaru, freebsd pr #76333: fseek(3) can clear EOF too;Jason McIntyre
ok millert
2009-01-15Remove support for kerb4 '.' instance separator, kerb4 is dead. OK jacekm@Todd C. Miller
2009-01-13Man page for wcstof(3), wcstod(3) and wcstold(3).Mark Kettenis
2009-01-13Crank minor because of addition of wcsto* functions.Mark Kettenis
2009-01-13Add wcstof(3) and wcstold(3).Mark Kettenis
ok miod@
2009-01-13Add wcstoimax(3) and wcstoumax(3).Mark Kettenis
ok miod@
2009-01-10The process number is longer used to replace trailing 'Xs'.Tobias Stoeckmann
ok jmc, millert
2009-01-03reintroduce extra malloc protections, but avoiding the use ofDamien Miller
PAGE_(SIZE|SHIFT|MASK) defines that evaluate to variables on the sparc architecture; ok otto@ tested on my reanimated ss20
2008-12-31PAGE_SIZE is not a valid symbol to use in that way. In particular,Theo de Raadt
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.
2008-12-30Remove mprotecting of struct dir_info introduced in previous commitDamien Miller
(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@
2008-12-29extra paranoia for malloc(3):Damien Miller
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
2008-12-27Fix file descriptor leak in fts_children(); okay dhill@, millert@,Pedro Martelletto
tedu@, thib@.
2008-12-23repair the ARC4 story; ok jmc djm millertTheo de Raadt
2008-12-23ddb.console does not override machdep.kbdreset, so don't say it does;Jason McIntyre
2008-12-22document yp_maplist(); from Ingo SchwarzeJason McIntyre
ok deraadt
2008-12-22The example for detecting malicious PTR records could be easily misinterpreted.Jacek Masiulaniec
Make it less ambiguous; ok gilles@ claudio@
2008-12-20Add man page for wcstol and friends.Mark Kettenis
ok jmc@
2008-12-17Document ENOBUFS for writev(2).Ray Lai
Okay claudio, deraadt.
2008-12-15shave off more bytes than you expect by declaring a few const local arraysOtto Moerbeek
as static const
2008-12-12__isinff and __isnanfMartynas Venckus
2008-12-12do the same as was done in mi version: do not include math.h, since isinf,Martynas Venckus
and isnan would expand to macros and compatibility aliases won't work
2008-12-12strcpy -> strlcpy; ok mbalmer@ martynas@Otto Moerbeek
2008-12-12- document and mlink frexpf, ldexpf, modff added 13 years agoMartynas Venckus
- document frexpl, ldexpl added recently a tweak and ok jmc@
2008-12-10no spaces allowed in the macro arguments. completely insanity!Theo de Raadt
2008-12-10use sys/cdefs.h; pointed out by theoMartynas Venckus
2008-12-10use sys/cdefs.hTheo de Raadt
2008-12-09these were not neededMartynas Venckus
2008-12-09ditto frexpl and ldexplMartynas Venckus
2008-12-09alias fabsl to fabs on these archsMartynas Venckus
2008-12-09remove unusedMartynas Venckus
2008-12-09- add long double signbitMartynas Venckus
- 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@
2008-12-09bugfix update to gdtoa 2008-10-10. ok millert@, tested by manyMartynas Venckus
2008-12-09Commit requested by marco:Otto Moerbeek
Add nonblock support for xdrrecs ok millert blambert & otto; from NetBSD. libc bump to follow soon.
2008-12-09fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soonOtto Moerbeek
2008-12-07Document that ethers_aton returns NULL for invalid addresses.Paul de Weerd
Suggested by and ok claudio@, ok jmc@
2008-11-26Add unix(4) to SEE ALSO.Michael Knudsen
ok deraadt
2008-11-26Fix typo, okay jmc@.Pedro Martelletto
2008-11-24Correctly jump over routing headers and calculate the size of the if_dataClaudio Jeker
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)
2008-11-21- make the .Nd of link(2) and symlink(2) a bit more consistentJasper Lievisse Adriaanse
(train trips are soo boring...) ok jmc@
2008-11-20move allocations between half a page and a page as close to the end ofOtto Moerbeek
the page as possible (i.e. make malloc option P a default). ok art@ millert@ krw@
2008-11-20Reduce the leeway malloc allows when moving allocations to the end ofOtto Moerbeek
a page to 0. P default will be changed in a separate commit. ok millert@ art@ krw@
2008-11-13To allow for easier playing with more strict settings introduceOtto Moerbeek
a separate symbolic constant for the leeway we allow when moving allocations towards the end of a page. No functional change.