Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a memory corruption bug. | David McCullough | 2002-09-17 | 1 | -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 actually | Eric Andersen | 2002-08-19 | 1 | -11/+2 | |
| | | | | | compile ("worst standard ever!") -Erik | |||||
* | Fixed __read_etc_hosts_r to return alias list and modified buffer | Manuel Novoa III | 2002-08-17 | 1 | -7/+26 | |
| | | | | | allocation accordingly. This fixes the segfault in the Python 2.2.1 socket test. | |||||
* | Remove __res_state function. | Miles Bader | 2002-08-16 | 1 | -12/+0 | |
| | ||||||
* | Make INCLUDE_FULL_RPC default to !HAVE_SHARED. | Miles Bader | 2002-08-16 | 1 | -1/+14 | |
| | ||||||
* | Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__ | Eric Andersen | 2002-08-16 | 1 | -10/+10 | |
| | | | | -Erik | |||||
* | I missed a spot. | Eric Andersen | 2002-08-12 | 1 | -0/+2 | |
| | | | | -Erik | |||||
* | Fix use of __pthread_once, and fix rpc usage of thread local | Eric Andersen | 2002-08-12 | 1 | -10/+0 | |
| | | | | | storage.... -Erik | |||||
* | Ugh. Make uClibc cross compile with gcc 2.95.x and threads. I wonder | Eric Andersen | 2002-08-11 | 1 | -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 McCullough | 2002-08-09 | 1 | -3/+2 | |
| | ||||||
* | Oops. missed a spot. | Eric Andersen | 2002-08-08 | 1 | -1/+1 | |
| | | | | -Erik | |||||
* | Fix a silly bug with using fstat64 instead of just fstat. No | Eric Andersen | 2002-08-08 | 1 | -2/+2 | |
| | | | | | reason for 64bit stuff just to check perms. -Erik | |||||
* | Add getrpcent.c to default rpc build | Eric Andersen | 2002-08-07 | 1 | -1/+2 | |
| | ||||||
* | Apply integer overflow security fix for "CERT Advisory CA-2002-25 Integer | Eric Andersen | 2002-08-07 | 1 | -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 locking | Eric Andersen | 2002-08-06 | 1 | -22/+80 | |
| | | | | -Erik | |||||
* | Rework RPC code once again. By default, only enable the | Eric Andersen | 2002-08-06 | 14 | -33/+708 | |
| | | | | | stuff needed for NFS mounts, rsh, and similar. -Erik | |||||
* | Per bug report from Ronald Wahl <rwa@peppercon.com>: | Eric Andersen | 2002-07-10 | 1 | -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 the | Eric Andersen | 2002-07-08 | 1 | -6/+19 | |
| | | | | | lock while sending packets out onto the wire. -Erik | |||||
* | Doh! search-n-replace strikes again | Eric Andersen | 2002-07-07 | 2 | -5/+5 | |
| | | | | -Erik | |||||
* | Cleanup namespace leaks by prepending __ to global stuff to | Eric Andersen | 2002-07-07 | 4 | -148/+140 | |
| | | | | | indicate it is (alledgedly) private. -Erik | |||||
* | Kill namespace pollution in getrpcent.c. Silence other rpc warnings | Eric Andersen | 2002-07-07 | 4 | -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 cleanup | Eric Andersen | 2002-07-07 | 1 | -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 it | Eric Andersen | 2002-06-20 | 1 | -5/+22 | |
| | | | | | when adding some locking code. -Erik | |||||
* | Make sure the sccsid tags never get compiled in. | Eric Andersen | 2002-06-18 | 26 | -30/+30 | |
| | | | | -Erik | |||||
* | kill cruft | Eric Andersen | 2002-06-17 | 1 | -5/+4 | |
| | ||||||
* | Make things more re-entrany, kill some cruft. | Eric Andersen | 2002-06-17 | 5 | -440/+385 | |
| | | | | -Erik | |||||
* | Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make this | Eric Andersen | 2002-06-17 | 45 | -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 Andersen | 2002-06-12 | 1 | -1/+1 | |
| | | | | not an int. | |||||
* | don't include the linux dir. Pointless and broken. | Eric Andersen | 2002-05-30 | 1 | -1/+0 | |
| | | | | -Erik | |||||
* | Fix some silly bugs and type problems | Eric Andersen | 2002-05-12 | 1 | -15/+14 | |
| | ||||||
* | Fix the defines which I had backwards | Eric Andersen | 2002-05-11 | 1 | -26/+9 | |
| | ||||||
* | Majorly rework to also cope with architectures which do not use | Eric Andersen | 2002-05-11 | 1 | -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 basic | Eric Andersen | 2002-04-17 | 1 | -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 like | Eric Andersen | 2002-04-17 | 1 | -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 Andersen | 2002-04-09 | 1 | -18/+8 | |
| | ||||||
* | Patch from Jim Treadway <jim@stardot-tech.com> to eliminate | Eric Andersen | 2002-04-03 | 1 | -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 some | Eric Andersen | 2002-03-20 | 1 | -1/+3 | |
| | | | | missing pieces of the conversion to reentrant functions. | |||||
* | Fix missing defines. Forgot to check this in. | Eric Andersen | 2002-03-19 | 1 | -0/+9 | |
| | | | | -Erik | |||||
* | Bart Visscher <magick@Linux-Fan.com> has added some missing IPV6 support, and | Eric Andersen | 2002-03-19 | 6 | -307/+1601 | |
| | | | | | added several additional reentrant networking functions such that iptables now runs with IPV6 support. | |||||
* | Swap in the new stdio code. | Manuel Novoa III | 2002-03-12 | 1 | -10/+7 | |
| | ||||||
* | A few more little cleanups | Eric Andersen | 2002-02-26 | 1 | -1/+1 | |
| | ||||||
* | don't pretend to be reentrant yet | Eric Andersen | 2002-02-26 | 1 | -0/+6 | |
| | ||||||
* | Fix rpc + threads so it now compiles. | Eric Andersen | 2002-02-26 | 1 | -21/+60 | |
| | ||||||
* | Thomas Fritzsche noticed that __open_etc_hosts was only changing a | Eric Andersen | 2002-02-26 | 1 | -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. | |||||
* | A number of naming updates in preparation for adding in | Eric Andersen | 2002-02-13 | 1 | -8/+16 | |
| | | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me. | |||||
* | I just wrote up gethostent(), sethostent(), and endhostent() | Eric Andersen | 2002-02-02 | 2 | -12/+85 | |
| | | | | -Erik | |||||
* | Grr. I should learn to compile stuff before committing | Eric Andersen | 2002-02-02 | 2 | -16/+4 | |
| | ||||||
* | Oops | Eric Andersen | 2002-02-02 | 1 | -2/+2 | |
| | ||||||
* | Fix hstrerror | Eric Andersen | 2002-02-02 | 1 | -6/+12 | |
| | ||||||
* | Add in support for inet_netof, inet_lnaof, inet_makeaddr and hstrerror. | David McCullough | 2002-01-17 | 3 | -3/+88 | |
| |