summaryrefslogtreecommitdiffstats
path: root/libc/inet
Commit message (Collapse)AuthorAgeFilesLines
...
* - include stdbool.hBernhard Reutner-Fischer2007-04-231-0/+1
|
* Bugfix from Atsushi Nemoto: return nonzero error code on failure Rob Landley2007-04-181-1/+1
| | | | | (without which busybox ping segfaults on error). Broken during locking changes in in svn 16801.
* - shrink resolver codeBernhard Reutner-Fischer2007-04-172-75/+81
|
* Warning fix for uninitialized variable, by Al Stone.Rob Landley2007-03-281-0/+1
|
* do not use ghbn_buf after it goes out of scopeEric Andersen2007-02-081-10/+9
|
* the sun rpc code has too many alias violations to worry over now; just ↵Mike Frysinger2007-02-041-0/+2
| | | | disable strict-aliasing until someone gets the balls to clean this stuff up
* Ronald Maeder writes:Eric Andersen2007-02-023-11/+53
| | | | | | I have successfully made gethostbyname_r(), res_init(), and gethostid() fully reentrant. In addition, I have added a NULL check to inet_aton(). This is where SEG FAULTs were coming from when gethostbyname_r() was called.
* use the correct lock for access to __nameserver[]Eric Andersen2007-02-021-9/+9
|
* fix lock namingEric Andersen2007-02-021-6/+6
|
* Ronald Maeder writes:Eric Andersen2007-02-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Erik, Thanks for all your great work. I found a set of bugs in resolv.c . Basically, there is code that looks like: BIGLOCK; __nameserversXX=__nameservers; __nameserverXX=__nameserver; BIGUNLOCK; i = __dns_lookup(dname, type, __nameserversXX, __nameserverXX, &packet, &a); which is a problem because the declarations are int __nameservers; char * __nameserver[MAX_SERVERS]; int __searchdomains; char * __searchdomain[MAX_SEARCH]; so you can see that __nameserver is a pointer. Copying the pointer to __nameserverXX doesn't protect the global variable space. I have attached a patch and the new file. I hope you will incorporate these bug fixes. I spent quite a bit of time tracking them down. Many thanks, Ron
* fix obvious bug in ipv4/ipv6 resolving. When not using AF_INET,Eric Andersen2007-02-021-1/+1
| | | | | | gethostbyname2_r tries to resolve an ipv6 address from /etc/hosts using get_hosts_byname_r, but with AF_INET instead of the supplied address family. This returns ipv4 addresses marked as ipv6 ones. Fix from nbd.
* sync some fixes from glibcMike Frysinger2007-01-291-3/+7
|
* need to keep __check_rhosts_file exported for proper rhost controlMike Frysinger2007-01-101-1/+5
|
* __resolv_lock is supposed to be shared, not static Eric Andersen2006-12-081-2/+2
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-20/+17
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-075-395/+376
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* fix from psm: only define __ASSUME_NETLINK_SUPPORT if not definedMike Frysinger2006-08-241-0/+2
|
* fix h_alias handling in gethostbyaddr_r() just like in gethostbyname_r()Mike Frysinger2006-07-311-0/+11
| | | | | | | | | otherwise we get messed up alias memory and this simple test case will segfault: python -c 'import socket; print socket.gethostbyaddr("80.68.88.204")[2];' see bug report in blackfin tracker for more info: http://blackfin.uclinux.org/tracker/index.php?func=detail&aid=1503&group_id=17&atid=141
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-052-2/+0
| | | | I had clearly run search/replace on that were cluttering things up.
* update licenseMike Frysinger2006-07-051-14/+2
|
* need hidden proto for rtime() as wellMike Frysinger2006-06-201-0/+1
|
* sync fix fixes from glibcMike Frysinger2006-06-191-7/+9
|
* dont shadow the socket() functionMike Frysinger2006-06-192-6/+6
|
* Move hidden xdr_rmtcall_args prototype before first usePeter S. Mazinger2006-03-241-1/+1
|
* Mark some functions as BSD onlyPeter S. Mazinger2006-03-231-0/+2
|
* select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵Peter S. Mazinger2006-03-232-0/+2
| | | | defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-225-5/+5
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-222-2/+3
| | | | _ISOC99/XOPEN_SOURCE
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-1015-16/+0
| | | | most of global data relocations are back
* Get rid of nested extern warnings if threads are disabledPeter S. Mazinger2006-03-091-4/+4
|
* Add back sjhill's 14625 commit, correcting the typo that made it failPeter S. Mazinger2006-03-091-4/+4
|
* Update copyrightPeter S. Mazinger2006-03-011-2/+3
|
* Remove duplicate includePeter S. Mazinger2006-03-011-1/+0
|
* Remove commented include."Steven J. Hill"2006-02-251-1/+0
|
* Revert change. Calls can only be used when utilizing TLS. Sorry for the ↵"Steven J. Hill"2006-02-251-5/+5
| | | | breakage.
* Use the TSD macros and get rid of warnings."Steven J. Hill"2006-02-251-4/+5
|
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-181-11/+11
|
* hide xdr_u_shortPeter S. Mazinger2006-02-151-0/+1
|
* DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger2006-02-151-0/+2
| | | | linuxthreads[_db] as well, don't try on slow box
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-132-61/+25
| | | | libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
* Weaken all that I remember being used in libpthreadPeter S. Mazinger2006-02-131-8/+8
|
* Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵Peter S. Mazinger2006-02-1356-0/+448
| | | | affected files
* eat whitespaceMike Frysinger2006-02-101-1/+1
|
* weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵Peter S. Mazinger2006-02-011-1/+7
| | | | issue
* global data uses libc_hidden_data_def, convert all -I hope- and add some newPeter S. Mazinger2006-02-012-3/+3
|
* don't include wchar.h if WCHAR is disabledPeter S. Mazinger2006-01-311-0/+2
|
* Change the only bcopy user to memmove and remove internal version of bcopyPeter S. Mazinger2006-01-301-4/+4
|
* sync with glibc and rename local socket var to _socketMike Frysinger2006-01-291-35/+36
|
* sync func def with glibc and dont include sys/socket.h since we dont use ↵Mike Frysinger2006-01-291-2/+7
| | | | socket()
* sync comment with glibc and dont include sys/socket.h since we dont use socket()Mike Frysinger2006-01-291-1/+2
|