summaryrefslogtreecommitdiff
path: root/libc/inet/rpc
AgeCommit message (Collapse)Author
2006-02-25Revert change. Calls can only be used when utilizing TLS. Sorry for the ↵"Steven J. Hill"
breakage.
2006-02-25Use the TSD macros and get rid of warnings."Steven J. Hill"
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-15hide xdr_u_shortPeter S. Mazinger
2006-02-15DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger
linuxthreads[_db] as well, don't try on slow box
2006-02-13libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger
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
2006-02-01weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵Peter S. Mazinger
issue
2006-01-31don't include wchar.h if WCHAR is disabledPeter S. Mazinger
2006-01-30Change the only bcopy user to memmove and remove internal version of bcopyPeter S. Mazinger
2006-01-29sync with glibc and rename local socket var to _socketMike Frysinger
2006-01-29sync func def with glibc and dont include sys/socket.h since we dont use ↵Mike Frysinger
socket()
2006-01-29sync comment with glibc and dont include sys/socket.h since we dont use socket()Mike Frysinger
2006-01-29rename to match glibcMike Frysinger
2006-01-29rename to match glibcMike Frysinger
2006-01-29sync with glibc and rename socket vars to _socketMike Frysinger
2006-01-29sync iruserfopen() prototype with glibc and remove double setting of cp to ↵Mike Frysinger
NULL by Bernard Fischer
2006-01-29Bernhard Fischer writes: remove unused variable __rcmd_errstrMike Frysinger
2006-01-29small sync with glibcMike Frysinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-24Use wildcard *.c for full rpc, update copyrightPeter S. Mazinger
2006-01-24s/svc_auth_unix.c/svc_authux.c/Peter S. Mazinger
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