Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - include stdbool.h | Bernhard Reutner-Fischer | 2007-04-23 | 1 | -0/+1 | |
| | ||||||
* | Bugfix from Atsushi Nemoto: return nonzero error code on failure | Rob Landley | 2007-04-18 | 1 | -1/+1 | |
| | | | | | (without which busybox ping segfaults on error). Broken during locking changes in in svn 16801. | |||||
* | - shrink resolver code | Bernhard Reutner-Fischer | 2007-04-17 | 2 | -75/+81 | |
| | ||||||
* | Warning fix for uninitialized variable, by Al Stone. | Rob Landley | 2007-03-28 | 1 | -0/+1 | |
| | ||||||
* | do not use ghbn_buf after it goes out of scope | Eric Andersen | 2007-02-08 | 1 | -10/+9 | |
| | ||||||
* | the sun rpc code has too many alias violations to worry over now; just ↵ | Mike Frysinger | 2007-02-04 | 1 | -0/+2 | |
| | | | | disable strict-aliasing until someone gets the balls to clean this stuff up | |||||
* | Ronald Maeder writes: | Eric Andersen | 2007-02-02 | 3 | -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 Andersen | 2007-02-02 | 1 | -9/+9 | |
| | ||||||
* | fix lock naming | Eric Andersen | 2007-02-02 | 1 | -6/+6 | |
| | ||||||
* | Ronald Maeder writes: | Eric Andersen | 2007-02-02 | 1 | -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 Andersen | 2007-02-02 | 1 | -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 glibc | Mike Frysinger | 2007-01-29 | 1 | -3/+7 | |
| | ||||||
* | need to keep __check_rhosts_file exported for proper rhost control | Mike Frysinger | 2007-01-10 | 1 | -1/+5 | |
| | ||||||
* | __resolv_lock is supposed to be shared, not static | Eric Andersen | 2006-12-08 | 1 | -2/+2 | |
| | ||||||
* | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric Andersen | 2006-12-07 | 1 | -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 do | Eric Andersen | 2006-12-07 | 5 | -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 defined | Mike Frysinger | 2006-08-24 | 1 | -0/+2 | |
| | ||||||
* | fix h_alias handling in gethostbyaddr_r() just like in gethostbyname_r() | Mike Frysinger | 2006-07-31 | 1 | -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 which | Eric Andersen | 2006-07-05 | 2 | -2/+0 | |
| | | | | I had clearly run search/replace on that were cluttering things up. | |||||
* | update license | Mike Frysinger | 2006-07-05 | 1 | -14/+2 | |
| | ||||||
* | need hidden proto for rtime() as well | Mike Frysinger | 2006-06-20 | 1 | -0/+1 | |
| | ||||||
* | sync fix fixes from glibc | Mike Frysinger | 2006-06-19 | 1 | -7/+9 | |
| | ||||||
* | dont shadow the socket() function | Mike Frysinger | 2006-06-19 | 2 | -6/+6 | |
| | ||||||
* | Move hidden xdr_rmtcall_args prototype before first use | Peter S. Mazinger | 2006-03-24 | 1 | -1/+1 | |
| | ||||||
* | Mark some functions as BSD only | Peter S. Mazinger | 2006-03-23 | 1 | -0/+2 | |
| | ||||||
* | select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not ↵ | Peter S. Mazinger | 2006-03-23 | 2 | -0/+2 | |
| | | | | defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist | |||||
* | Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined | Peter S. Mazinger | 2006-03-22 | 5 | -5/+5 | |
| | ||||||
* | Mark some functions as GNU, provide missing hidden memmem, remove ↵ | Peter S. Mazinger | 2006-03-22 | 2 | -2/+3 | |
| | | | | _ISOC99/XOPEN_SOURCE | |||||
* | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | 2006-03-10 | 15 | -16/+0 | |
| | | | | most of global data relocations are back | |||||
* | Get rid of nested extern warnings if threads are disabled | Peter S. Mazinger | 2006-03-09 | 1 | -4/+4 | |
| | ||||||
* | Add back sjhill's 14625 commit, correcting the typo that made it fail | Peter S. Mazinger | 2006-03-09 | 1 | -4/+4 | |
| | ||||||
* | Update copyright | Peter S. Mazinger | 2006-03-01 | 1 | -2/+3 | |
| | ||||||
* | Remove duplicate include | Peter S. Mazinger | 2006-03-01 | 1 | -1/+0 | |
| | ||||||
* | Remove commented include. | "Steven J. Hill" | 2006-02-25 | 1 | -1/+0 | |
| | ||||||
* | Revert change. Calls can only be used when utilizing TLS. Sorry for the ↵ | "Steven J. Hill" | 2006-02-25 | 1 | -5/+5 | |
| | | | | breakage. | |||||
* | Use the TSD macros and get rid of warnings. | "Steven J. Hill" | 2006-02-25 | 1 | -4/+5 | |
| | ||||||
* | tweak the idea between having a MMU and actually using it | Mike Frysinger | 2006-02-18 | 1 | -11/+11 | |
| | ||||||
* | hide xdr_u_short | Peter S. Mazinger | 2006-02-15 | 1 | -0/+1 | |
| | ||||||
* | DOMULTI may be used for libc, the excluded files need work, ↵ | Peter S. Mazinger | 2006-02-15 | 1 | -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. Mazinger | 2006-02-13 | 2 | -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 libpthread | Peter S. Mazinger | 2006-02-13 | 1 | -8/+8 | |
| | ||||||
* | Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵ | Peter S. Mazinger | 2006-02-13 | 56 | -0/+448 | |
| | | | | affected files | |||||
* | eat whitespace | Mike Frysinger | 2006-02-10 | 1 | -1/+1 | |
| | ||||||
* | weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵ | Peter S. Mazinger | 2006-02-01 | 1 | -1/+7 | |
| | | | | issue | |||||
* | global data uses libc_hidden_data_def, convert all -I hope- and add some new | Peter S. Mazinger | 2006-02-01 | 2 | -3/+3 | |
| | ||||||
* | don't include wchar.h if WCHAR is disabled | Peter S. Mazinger | 2006-01-31 | 1 | -0/+2 | |
| | ||||||
* | Change the only bcopy user to memmove and remove internal version of bcopy | Peter S. Mazinger | 2006-01-30 | 1 | -4/+4 | |
| | ||||||
* | sync with glibc and rename local socket var to _socket | Mike Frysinger | 2006-01-29 | 1 | -35/+36 | |
| | ||||||
* | sync func def with glibc and dont include sys/socket.h since we dont use ↵ | Mike Frysinger | 2006-01-29 | 1 | -2/+7 | |
| | | | | socket() | |||||
* | sync comment with glibc and dont include sys/socket.h since we dont use socket() | Mike Frysinger | 2006-01-29 | 1 | -1/+2 | |
| |