summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2006-01-04use internal versions of exit/memcpyPeter S. Mazinger
2006-01-04need our own version to prevent warningsMike Frysinger
2006-01-04update build filesMike Frysinger
2006-01-04update buildsystem to new styleMike Frysinger
2006-01-04Bug 618, Thomas Chou: update crt to new 0.9.28 uClibc styleMike Frysinger
2006-01-04unusedMike Frysinger
2006-01-04now we can safely declare these hiddenMike Frysinger
2006-01-04update pthread weak handling to the style glibc usesMike Frysinger
2006-01-04tweak __progname handling some more since some [bad] apps actually try and ↵Mike Frysinger
use it
2006-01-04use weak handling instead of .setMike Frysinger
2006-01-04kill off some unused warningsMike Frysinger
2006-01-04if arch doesnt provide _syscall6(), we need to alias the 64bit versionMike Frysinger
2006-01-03Lost wcschr()Peter S. Mazinger
2006-01-03Get rid of tolower/toupper jump reloc, correct tow* for XLOCALEPeter S. Mazinger
2006-01-03Add __toupper, remove unneeded undefs for tolowerPeter S. Mazinger
2006-01-03Provide __tolower and use itPeter S. Mazinger
2006-01-03Remove textrelPeter S. Mazinger
2006-01-03Revert a change until I find the textrel causePeter S. Mazinger
2006-01-03Complete split of all the string functions. Hope haven't broken too much. ↵Peter S. Mazinger
wcscoll/strcoll needs some love ...
2006-01-03Use strong_alias everywhere instead of .global/.set. Correct some cases ↵Peter S. Mazinger
where the non-hidden version was used.
2006-01-03tweak what is likely() in the argv[0] parsingMike Frysinger
2006-01-03add optional support for program_invocation_name/program_invocation_short_nameMike Frysinger
2006-01-03we dont need to loop calling abort() because abort() already loops for usMike Frysinger
2006-01-03fix previous commit so that __uClibc_init() is run for non-mmu cases again ↵Mike Frysinger
as report by Thomas in Bug 618
2006-01-02Use attribute_noreturnPeter S. Mazinger
2006-01-02Remove -unhonoured- commentPeter S. Mazinger
2006-01-02Remove fpu_control.h handling as wellPeter S. Mazinger
2006-01-02fpu_control.h is handled generally in topdir/Makefile.in, remove rule for itPeter S. Mazinger
2006-01-01previous st_dev change from unsigned long (4bytes) to __dev_t (8bytes) ↵Mike Frysinger
needed to shrink the pads as well to maintain ABI compat
2005-12-30fix path to heap.h as point out by thomas_chou in Bug 617Mike Frysinger
2005-12-30update to new build systemMike Frysinger
2005-12-30Bug 616, Thomas Chou: update crt to new 0.9.28 uClibc styleMike Frysinger
2005-12-30use errno.h not sys/errno.h as pointed out by sjhillMike Frysinger
2005-12-30Sync ftw w/ glibc, splitting ftw and ftw64Peter S. Mazinger
2005-12-29beautifyMike Frysinger
2005-12-29hide the internal libc pthread_mutex funcsMike Frysinger
2005-12-29pointless whitespace touchupsMike 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-28make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the ↵Mike Frysinger
e-mail list
2005-12-28include grp.h just for funMike Frysinger
2005-12-28typecast away signed/unsigned warningsMike Frysinger
2005-12-27tweak prototypes to match the exported versionsMike Frysinger
2005-12-27fix signed/unsigned warningMike Frysinger
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-27Aubrey 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. And I found not only "setgroups.c" but "getgroups.c" have the matrix (__kernel_gid_t kernel_groups[n]) on the stack which can be very large because "n" can be assigned to NGROUPS_MAX. 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 */ I also changed it to do malloc.
2005-12-27Jan-Benedict Glaw writes:Mike Frysinger
This patch is wrong and breaks (at least) building a static libc. The $(MISC_FNMATCH_OBJ) file still uses the .c extension, thus isn't built at all and eg. strip'ping the .c file fails, breaking the build.