summaryrefslogtreecommitdiff
path: root/libc/inet
AgeCommit message (Collapse)Author
2006-01-23sync with glibcMike Frysinger
2006-01-23Add some attribute_noreturn, replace __attribute__ ((noreturn)) as wellPeter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-20disable deprecated warnings for some filesMike Frysinger
2006-01-16Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger
gone from libc. The remaining are left as exercise for others ;-)
2006-01-16some global data relocs gonePeter S. Mazinger
2006-01-15make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger
2006-01-14I should also test w/ ipv6, missed that, thx SpanKYPeter S. Mazinger
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14Correct 2 issues if ipv6 is enabled found by SpanKY, thxPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-14make sure linux/types.h doesnt screw us upMike Frysinger
2006-01-09dont include linux/types.hMike Frysinger
2006-01-08declare staticMike Frysinger
2006-01-08hide the internal __in6addr_any/__in6addr_loopback symbolsMike Frysinger
2006-01-08hide internal ahostbuf symbolMike Frysinger
2006-01-08hide internal symbolsMike Frysinger
2006-01-08hide internal _net_stayopen symbolMike Frysinger
2006-01-08hide internal funcs to kill off more relocsMike Frysinger
2006-01-08kill off two more relocsMike Frysinger
2006-01-08fix warnings when __NR_socketcall is not defined and building recv()Mike Frysinger
2006-01-06Allow compiling newly added if_index.c (at least on 2.4), missing ↵Peter S. Mazinger
__u32/__u16/__s32
2006-01-06as weber notes in Bug 99:Mike Frysinger
if_nameindex doesnt list all of my interfaces! this is because we are still using the old style ioctl(SIOCGIFINDEX) for gathering interface names/indexes. while this code is pretty small, the kernel does not return all interfaces via this method. so we import the new style netlink code from glibc and make it optional so those people who need the full functionality can get it.
2006-01-06create __if_nametoindex hidden alias and use itMike Frysinger
2006-01-06rework the alloca() loop slightly to save some spaceMike Frysinger
2006-01-06sync with glibcMike Frysinger
2006-01-06update libc lock functions to new pthread forwardingMike Frysinger
2006-01-03Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger
2005-12-30use errno.h not sys/errno.h as pointed out by sjhillMike Frysinger
2005-12-28make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the ↵Mike Frysinger
e-mail list
2005-12-27kill off simple unused warningsMike Frysinger
2005-12-27kill off simple unused warningsMike Frysinger
2005-12-27kill off simple unused warningsMike Frysinger
2005-12-272005-12-15 Aubrey.Li <aubreylee@gmail.com> writes:Mike Frysinger
When I mounted nfs on my target, the kernel crashed. And I found it was caused by stack overflow. When I digged into it. I found the following issue. In the file "./uClibc/libc/inet/rpc/auth_unix.c" int max_nr_groups = sysconf (_SC_NGROUPS_MAX); gid_t gids[max_nr_groups]; And, NGROUPS_MAX is defined in the file "./linux-2.6.x/include/linux/limits.h" #define NGROUPS_MAX 65536 /* supplemental group IDs are available */ OK, here we can know max_nr_groups is assigned to 65536, that means a huge matrix "gids[65536] is in the function **authunix_create_default**. My method is doing it by malloc, the patch as follows.
2005-12-27kill off minor warningMike Frysinger
2005-12-16Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger
of __attribute__ ...
2005-12-16Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger
was indeed a badly chosen name
2005-12-15silly bugEric Andersen
2005-12-13Convert all users of earlier hiddensPeter S. Mazinger
2005-12-13Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger
2005-12-10fix signed warningMike Frysinger
2005-12-10Switch fread/fwrite/fclose/pipe/sigsetmask usersPeter S. Mazinger
2005-12-09Implement hidden listen, use the hidden listen/acceptPeter S. Mazinger
2005-12-09Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger
2005-12-09internal sigpause, do we really default to BSD signals?Peter S. Mazinger
2005-12-08mmap/mremap/socket/rewind gonePeter S. Mazinger
2005-12-08Use __sendto in __libc_send, small correctionPeter S. Mazinger
2005-12-08Convert the rest of users to hiddenPeter S. Mazinger
2005-12-08Similar impl. of __libc_x using hidden_weak_alias, hope threads work w/ itPeter S. Mazinger
2005-12-08Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger