summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
AgeCommit message (Collapse)Author
2006-01-24s/rpc_callmsg.c/rpc_cmsg.c/ for non-full rpc as wellPeter S. Mazinger
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-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter 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-08declare staticMike Frysinger
2006-01-08hide internal ahostbuf symbolMike Frysinger
2006-01-08hide internal funcs to kill off more relocsMike Frysinger
2006-01-08kill off two more relocsMike 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-16Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger
was indeed a badly chosen name
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-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-08Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger
2005-12-08Missed alias to xdr_string, thanks sjhillPeter S. Mazinger
2005-12-07Hide morePeter S. Mazinger
2005-12-07No more *xdr* jump relocationsPeter S. Mazinger
2005-12-07Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger
2005-12-06Make use internal str*casecmp/wcscollPeter S. Mazinger
2005-12-06macro out the thread funcs in libc if threading is disabledMike Frysinger
2005-12-06a small TODOMike Frysinger
2005-12-04More hiding, 300 leftPeter S. Mazinger
2005-12-03Rename newly created __libc_x (reserved for libpthread overwrites) w/ ↵Peter S. Mazinger
x_internal, do not use cascading aliases
2005-12-03More hiding, including __mempcpyPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-29Hiding againPeter S. Mazinger
2005-11-26100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger
2005-11-21Remove TOPDIRPeter S. Mazinger
2005-11-15Hide __libc_sa_lenPeter S. Mazinger
2005-11-10Another s/index/strchr/Peter S. Mazinger
2005-11-03Correct IMAPeter S. Mazinger
2005-11-01Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger
libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC