summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2001-06-14Fix a buf oflow in EXAMPLES code; millert@ okAaron Campbell
2001-06-13SYSLEAF, not LEAF. shared libc_r builds now on alpha.Artur Grabowski
2001-06-13prettyArtur Grabowski
2001-06-13"#endif _THREAD_SAFE" is not legalArtur Grabowski
2001-06-12on openbsd, NI_MAXHOST value is different from RFC2553. PR 1870Jun-ichiro itojun Hagino
2001-06-11support EDNS0 (RFC2671) buffer size notification on DNS queries.Jun-ichiro itojun Hagino
"options edns0" in /etc/resolv.conf will enable the behavior. no behavior change if you don't have the line. see resolv.conf(5) for more details. EDNS0 is useful for avoiding TCP DNS queries/replies on larger DNS responses. also, draft-ietf-dnsext-message-size-* plans to mandate EDNS0 support for DNS clients that support IPv6 transport.
2001-06-09remove confusing comparison with srand (it does not return the old seed)assar
use .Sh AUTHORS and .An for author
2001-06-05Fix pasto; kleink@netbsd.orgPaul Janzen
2001-06-05License clarification from David Mazieres, ok deraadt@Peter Valchev
2001-06-05repair copyright notices for NRL & cmetz; cmetzTheo de Raadt
2001-06-04oh, just include machine/asm.hMichael Shalayeff
2001-06-04entrieness cleanupMichael Shalayeff
2001-06-03Don't bail out early for users w/o passwd file entries since we mayTodd C. Miller
want to cons up a fake prompt for challenge/response auth methods. markus@ OK'd.
2001-06-03KERN_NPROCS documentationAngelos D. Keromytis
2001-06-03struct diskstats nowAngelos D. Keromytis
2001-05-31Fix another case of CHDIR("..") pointed out by Bruce EvansTodd C. Miller
<bde@zeta.org.au>. Instead of fixing these inline I've modified my fts_safe_changedir() function so it can be used in this case too. Thanks also to Kris Kennaway <kris@obsecurity.org>.
2001-05-31knfTheo de Raadt
2001-05-30When changing directory to '..', verify that we really are whereTodd C. Miller
we should be. This is similar to the old fts bug but happens when popping out of directories, as opposed to descending into them. Patch based on one by Kris Kennaway <kris@obsecurity.org>. Issue reported by Nick Cleaton <nick@cleaton.net>
2001-05-30Complain via syslog if login.conf does not exist. With the BSDTodd C. Miller
authentication stuff in you really want to know if this file doesn't exist. The last two releases have shipped with /etc/login.conf so there's no excuse not to have it, other than an error.
2001-05-29mention setusercontext() return valueTodd C. Miller
2001-05-20Correct interval notation (<= vs. <); tadayuki@mediaone.netTodd C. Miller
2001-05-17don't copy past end of record in readdir_r (ok by art)Jim Rees
2001-05-15Make path length variables size_t. This fixes the problem whereTodd C. Miller
things like rm can't remove files with ridiculously long path names that were created by some script kiddie trying in vain to exploit something. Previously, the length was effectively constrained to USHRT_MAX due to one of the internal structs. Also, nuke FTS_CHDIRROOT since it never worked correctly and hasn't been documented for a long time.
2001-05-14Split synopsis, plain read/write don't need uio.Marc Espie
2001-05-14Update, sync with reality. deraadt@okAngelos D. Keromytis
2001-05-13unsigned -> unsigned int; grange@rt.mipt.ruTodd C. Miller
2001-05-13type of function on seperate lineTheo de Raadt
2001-05-11PowerPC is big endian, not little endian. This fixes isinf() and isnan()Dale Rahn
2001-05-11-1 -> MAP_FAILEDArtur Grabowski
2001-05-11Add back MAP_COPY. Just describe why it shouldn't be used.Artur Grabowski
2001-05-11Remove MAP_COPY. It shouldn't be used anymore.Artur Grabowski
2001-05-11MAP_SHARED is better. Maybe we're trying to map /dev/ksyms.Artur Grabowski
And we'll never write to those mappings anyway.
2001-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-05-11Update with new sysctl'sAngelos D. Keromytis
2001-05-10Use madvise(MADV_FREE) to allow the 'h' option.Artur Grabowski
(the code was already there, just not enabled).
2001-05-10Slightly better explaination of the advices (cut 'n paste from sys/mman.h isArtur Grabowski
not good documentation) and document the new ones. Also, remove the BUGS section that said it wasn't implemented.
2001-05-07Document boundary condition when size < strlen(dst).Todd C. Miller
2001-05-07Back out last change, it is intended behavior and update the blockTodd C. Miller
comment to reflect this fact. Too early in the morning for me I guess.
2001-05-07strlcat() should return strlen(dst) + strlen(src) when size parameterTodd C. Miller
<= strlen(dst). Bug report by mark.murnane@ireland.sun.com via the GNOME folks.
2001-05-05Prototype for nice() lives in unistd.h, not nlist.h (pasto?)Todd C. Miller
2001-05-05Add missing __syscall() proto to fix pread() & friends on big endianTodd C. Miller
machines. Found by me, solved by Theo ;-)
2001-05-01Use pread() to avoid lseek() abuse, from art's todo list. Tested withAaron Campbell
config(8) UKC; millert@ ok
2001-04-23Various man page fixes and improvements from gluk@Aaron Campbell
2001-04-22In the verbiage for MNT_SOFTDEP add a reference to 'softdep' inKenneth R Westerback
mount(8). ok deraadt@
2001-04-20Fix an incorrect memset() in __grow_type_table(); dk@homepage.ruTodd C. Miller
While I was there I noticed and fixed a bogus realloc(). We should really check malloc/realloc return values and deal sanely but that will have to be done later. Theo OK'd
2001-04-18Most of the systems we run on require an emulated EMODD, so avoid usingHugh Graham
it if a CVTDL would do instead. This path is 80x faster on such systems, and falling back to EMODD if necessary hurts little. Helps programs like nawk, a heavy modf user.
2001-04-16Man page for hsearch/hcreate/hdestroy from NetBSDTodd C. Miller
2001-04-0931 vs 32; ianm@cit.uws.edu.auTheo de Raadt
2001-04-05remove extra continue statementsTheo de Raadt
2001-04-05Updates and corrections from gluk@ after recent softupdates changes.Aaron Campbell