summaryrefslogtreecommitdiffstats
path: root/libc/inet
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Nick Fedchik to support ether_atonEric Andersen2003-01-102-1/+84
|
* Implement the rest of the missing include/net/if.h interfacesEric Andersen2002-12-041-22/+149
| | | | -Erik
* Oops.Eric Andersen2002-11-211-0/+1
|
* Cleanup use of in6addr_loopback and in6addr_anyEric Andersen2002-11-214-20/+36
|
* Patch from "Cho, Seong-Myun" <smcho@xecurenexus.com> to limitEric Andersen2002-11-031-1/+3
| | | | things to the lower 16 bits of 'id'.
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-312-15/+2
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Fix a memory corruption bug.David McCullough2002-09-171-3/+6
| | | | | | With gcc, sizeof on a sized array argument to a function returns 4, not 16 as was expected in this code. This caused inet_ntoa to overwrite whatever came before the buffer in the BSS by up to 12 bytes.
* Fixup struct _res handling so apps using struct _res can actuallyEric Andersen2002-08-191-11/+2
| | | | | compile ("worst standard ever!") -Erik
* Fixed __read_etc_hosts_r to return alias list and modified bufferManuel Novoa III2002-08-171-7/+26
| | | | | allocation accordingly. This fixes the segfault in the Python 2.2.1 socket test.
* Remove __res_state function.Miles Bader2002-08-161-12/+0
|
* Make INCLUDE_FULL_RPC default to !HAVE_SHARED.Miles Bader2002-08-161-1/+14
|
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-161-10/+10
| | | | -Erik
* I missed a spot.Eric Andersen2002-08-121-0/+2
| | | | -Erik
* Fix use of __pthread_once, and fix rpc usage of thread localEric Andersen2002-08-121-10/+0
| | | | | storage.... -Erik
* Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonderEric Andersen2002-08-111-20/+20
| | | | | if this is serious enough to warrent 0.9.14? -Erik
* Changes so that this file builds if we are not using threads.David McCullough2002-08-091-3/+2
|
* Oops. missed a spot.Eric Andersen2002-08-081-1/+1
| | | | -Erik
* Fix a silly bug with using fstat64 instead of just fstat. NoEric Andersen2002-08-081-2/+2
| | | | | reason for 64bit stuff just to check perms. -Erik
* Add getrpcent.c to default rpc buildEric Andersen2002-08-071-1/+2
|
* Apply integer overflow security fix for "CERT Advisory CA-2002-25 IntegerEric Andersen2002-08-071-1/+6
| | | | | Overflow In XDR Library" http://www.cert.org/advisories/CA-2002-25.html Patch from Solar Designer <solar@openwall.com>.
* Fixup the last missing pieces of thread lockingEric Andersen2002-08-061-22/+80
| | | | -Erik
* Rework RPC code once again. By default, only enable theEric Andersen2002-08-0614-33/+708
| | | | | stuff needed for NFS mounts, rsh, and similar. -Erik
* Per bug report from Ronald Wahl <rwa@peppercon.com>:Eric Andersen2002-07-101-19/+16
| | | | | | | | | | | ...inet_pton breaks since tolower is implemented as a macro and its argument is evaluated more than once: while ((ch = tolower (*src++)) != '\0') { So I fixed it by just undefining tolower() so we use the function version, not the macro. -Erik
* Finer grained locking in __connect_dns() so we don't hold theEric Andersen2002-07-081-6/+19
| | | | | lock while sending packets out onto the wire. -Erik
* Doh! search-n-replace strikes againEric Andersen2002-07-072-5/+5
| | | | -Erik
* Cleanup namespace leaks by prepending __ to global stuff toEric Andersen2002-07-074-148/+140
| | | | | indicate it is (alledgedly) private. -Erik
* Kill namespace pollution in getrpcent.c. Silence other rpc warningsEric Andersen2002-07-074-24/+17
| | | | | | by fixing prototypes. Fix global stuff so it should behave itself properly now, -Erik
* Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanupEric Andersen2002-07-071-44/+46
| | | | | connect_dns() and simplify IPV6 support by reducing the number of ifdefs sprinkled about.
* Fix DNS resolution so that it once again works. I'd broken itEric Andersen2002-06-201-5/+22
| | | | | when adding some locking code. -Erik
* Make sure the sccsid tags never get compiled in.Eric Andersen2002-06-1826-30/+30
| | | | -Erik
* kill cruftEric Andersen2002-06-171-5/+4
|
* Make things more re-entrany, kill some cruft.Eric Andersen2002-06-175-440/+385
| | | | -Erik
* Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen2002-06-1745-5018/+8139
| | | | | | | | junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to the code size I'm afraid, but since I never use NFS and therefore never include this stuff, I guess thats acceptable. I still need to enable the multi-threaded bits... -Erik
* Yipe. As Joseph Chiu noticed, sockvec is supposed to be an int*Eric Andersen2002-06-121-1/+1
| | | | not an int.
* don't include the linux dir. Pointless and broken.Eric Andersen2002-05-301-1/+0
| | | | -Erik
* Fix some silly bugs and type problemsEric Andersen2002-05-121-15/+14
|
* Fix the defines which I had backwardsEric Andersen2002-05-111-26/+9
|
* Majorly rework to also cope with architectures which do not useEric Andersen2002-05-111-2/+99
| | | | | | the socketcall system call, but instead implement each fundamental networking function directly as a system call. -Erik
* Patch from Axel Barnitzke <barney@xkontor.com> to add basicEric Andersen2002-04-171-0/+66
| | | | | support for struct _res. This is a minimalist implementation, but should work for most anything out there.
* Patch from Mike McDonald to make gethostbyname_r() not fail for things likeEric Andersen2002-04-171-0/+5
| | | | | gethostbyname("192.168.0.1"), which should work even when the /etc/hosts and /etc/config/hosts files do not exist.
* Re-enable clnt_perror. Patch from Miles Bader.Eric Andersen2002-04-091-18/+8
|
* Patch from Jim Treadway <jim@stardot-tech.com> to eliminateEric Andersen2002-04-031-22/+12
| | | | | use of alarm() and therefore SIGARLM in the resolver and to instead use select, which is much cleaner.
* Patch from Bart Visscher <magick@Linux-Fan.com> fixing someEric Andersen2002-03-201-1/+3
| | | | missing pieces of the conversion to reentrant functions.
* Fix missing defines. Forgot to check this in.Eric Andersen2002-03-191-0/+9
| | | | -Erik
* Bart Visscher <magick@Linux-Fan.com> has added some missing IPV6 support, andEric Andersen2002-03-196-307/+1601
| | | | | added several additional reentrant networking functions such that iptables now runs with IPV6 support.
* Swap in the new stdio code.Manuel Novoa III2002-03-121-10/+7
|
* A few more little cleanupsEric Andersen2002-02-261-1/+1
|
* don't pretend to be reentrant yetEric Andersen2002-02-261-0/+6
|
* Fix rpc + threads so it now compiles.Eric Andersen2002-02-261-21/+60
|
* Thomas Fritzsche noticed that __open_etc_hosts was only changing aEric Andersen2002-02-261-6/+6
| | | | | | local copy of the FILE pointer, thereby causing /etc/hosts lookups to fail with Resolver errors. This patch from Thomas fixes the problem.