summaryrefslogtreecommitdiff
path: root/lib/libc
AgeCommit message (Collapse)Author
2002-09-07ansi pedantic. ok deraadt@Jakob Schlyter
2002-09-06missing include, ok theoHenning Brauer
2002-09-06use socklen_t where needed; henning pvalchev okTheo de Raadt
2002-09-04spellingTheo de Raadt
2002-08-30re-enable function pointer table protection, this time make sure thatDaniel Hartmeier
malloc.c gets the first mmap() call (since it depends on that, for its sbrk(0) use). ok deraadt@
2002-08-29clean; gwyllion@ace.ulyssis.orgTheo de Raadt
2002-08-28Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value.Jun-ichiro itojun Hagino
from onoe@sm.sony.co.jp
2002-08-27sync from libkern (where the major fix was done or the kernel piece of this)Michael Shalayeff
2002-08-27allocate 64K recieve buffer for DNS responses.Jun-ichiro itojun Hagino
2002-08-23deal with negative return value from snprintf.Jun-ichiro itojun Hagino
2002-08-22do not lose errnoTheo de Raadt
2002-08-22tweakTheo de Raadt
2002-08-22drop AAAA reply with IPv4 mapped address. sync w/kameJun-ichiro itojun Hagino
draft-itojun-v6ops-v4mapped-harmful-00.txt
2002-08-19Suggest better types in examples; from NetBSDMiod Vallat
2002-08-19snprintf audit. debug inet_neta() on non-continuous masks (like 0.255.0.255),Jun-ichiro itojun Hagino
more pickier string manipulation. deraadt ok
2002-08-13forgot to fix this while was fixing copy_on_fault shitzMichael Shalayeff
2002-08-11Two touches to make this work with ELF.Artur Grabowski
- use _C_LABEL(__cerror) and not cerror to avoid polluting the name space. - Use weak symbols for libc_r syscalls.
2002-08-11Sync limits described by EFBIG and ELOOP with current reality; from NetBSD.Aaron Campbell
miod@ ok
2002-08-09grammar nitsPaul Janzen
2002-08-09remove obsolete comment, no SIOCGIFCONF path any moreJun-ichiro itojun Hagino
2002-08-09unifdef for auditability.Jun-ichiro itojun Hagino
2002-08-08no more of the French Favourite SymbolMichael Shalayeff
2002-08-08fix KMSRCS after some files removelanceMichael Shalayeff
2002-08-08document generic ioctls. ok art@Wilbern Cobb
2002-08-06Comma splice introduced in last commit.Aaron Campbell
2002-08-05Fix brain blackout.Artur Grabowski
Pointed out byb miod@.
2002-08-05One more ELF_TOOLCHAIN.Artur Grabowski
2002-08-05_C_LABEL where needed.Artur Grabowski
2002-08-04If fork() fails, log/report the error *before* we close our fd's justTodd C. Miller
in case close(2) were to set errno.
2002-08-03If malloc() fails, perror() and return. This is non-optimal but becauseTodd C. Miller
svr_run() is void we have no way to pass back error status.
2002-08-01KNF and correct overflow fix; jhutz@cmu.eduTheo de Raadt
2002-07-31if ypmatch_add sees short keys or values, abort earlyTheo de Raadt
2002-07-31Back it out, it breaks something in perl (seen with spamassassin), debugDaniel Hartmeier
first.
2002-07-31permit calloc(0, N) and calloc(N, 0) -- malloc(0) does the right thing; ↵Theo de Raadt
markus miod ok
2002-07-30malloc paranoia; it is unlikely that any filesystem will supportTodd C. Miller
enough directory entries to cause a problem but it is good form anyway. deraadt@ OK.
2002-07-30more strlcpy; itojun okTheo de Raadt
2002-07-30be even more careful with strlcpy()Theo de Raadt
2002-07-30return failure if integer overflow happens. sigh; too people had toTheo de Raadt
help get this right.
2002-07-29careful mallocTheo de Raadt
2002-07-29Replace atexit handler. mprotect() the pages so an attempt to modify theDaniel Hartmeier
function pointers from the outside will segfault. Idea, hints and feedback from deraadt. ok deraadt.
2002-07-29query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.Jun-ichiro itojun Hagino
(need some string-manipulation cleanup near here)
2002-07-25more snprintf and strlcpy; help from millertTheo de Raadt
2002-07-25kill more strcpyTheo de Raadt
2002-07-25cleanupTheo de Raadt
2002-07-25real vforkMichael Shalayeff
2002-07-24add *asprintfTheo de Raadt
2002-07-24Document that *printf can return -1 on error. This includes snprintf(),Todd C. Miller
though our implementation never does this.
2002-07-24 o Mention that interval timers are cleared (FreeBSD)Todd C. Miller
o Mention that _exit(2) should be used to avoid problems with stdio buffers and atexit(3) o Add STANDARDS section OK deraadt@
2002-07-24Convert to ANSI function headers and make 'ch' argument int, not char.Todd C. Miller
Noticed by deraadt@
2002-07-24have _THREAD_PRIVATE_MUTEX for DNS/YP/hosts lookup.Jun-ichiro itojun Hagino