summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add __toupper, remove unneeded undefs for tolowerPeter S. Mazinger2006-01-031-4/+3
|
* Provide __tolower and use itPeter S. Mazinger2006-01-033-4/+7
|
* Remove textrelPeter S. Mazinger2006-01-031-4/+4
|
* Revert a change until I find the textrel causePeter S. Mazinger2006-01-032-2/+2
|
* Complete split of all the string functions. Hope haven't broken too much. ↵Peter S. Mazinger2006-01-0393-3702/+3253
| | | | wcscoll/strcoll needs some love ...
* Use strong_alias everywhere instead of .global/.set. Correct some cases ↵Peter S. Mazinger2006-01-0395-326/+213
| | | | where the non-hidden version was used.
* tweak what is likely() in the argv[0] parsingMike Frysinger2006-01-031-2/+2
|
* add optional support for program_invocation_name/program_invocation_short_nameMike Frysinger2006-01-031-1/+19
|
* we dont need to loop calling abort() because abort() already loops for usMike Frysinger2006-01-031-2/+0
|
* fix previous commit so that __uClibc_init() is run for non-mmu cases again ↵Mike Frysinger2006-01-031-1/+3
| | | | as report by Thomas in Bug 618
* Use attribute_noreturnPeter S. Mazinger2006-01-021-1/+1
|
* Remove -unhonoured- commentPeter S. Mazinger2006-01-021-2/+0
|
* Remove fpu_control.h handling as wellPeter S. Mazinger2006-01-021-2/+0
|
* fpu_control.h is handled generally in topdir/Makefile.in, remove rule for itPeter S. Mazinger2006-01-021-2/+0
|
* previous st_dev change from unsigned long (4bytes) to __dev_t (8bytes) ↵Mike Frysinger2006-01-011-5/+5
| | | | needed to shrink the pads as well to maintain ABI compat
* fix path to heap.h as point out by thomas_chou in Bug 617Mike Frysinger2005-12-301-1/+1
|
* update to new build systemMike Frysinger2005-12-302-66/+24
|
* Bug 616, Thomas Chou: update crt to new 0.9.28 uClibc styleMike Frysinger2005-12-301-11/+17
|
* use errno.h not sys/errno.h as pointed out by sjhillMike Frysinger2005-12-302-2/+1
|
* Sync ftw w/ glibc, splitting ftw and ftw64Peter S. Mazinger2005-12-303-460/+640
|
* beautifyMike Frysinger2005-12-291-10/+7
|
* hide the internal libc pthread_mutex funcsMike Frysinger2005-12-291-9/+6
|
* pointless whitespace touchupsMike Frysinger2005-12-291-10/+10
|
* make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the ↵Mike Frysinger2005-12-281-5/+8
| | | | e-mail list
* make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the ↵Mike Frysinger2005-12-282-7/+12
| | | | e-mail list
* include grp.h just for funMike Frysinger2005-12-281-0/+1
|
* typecast away signed/unsigned warningsMike Frysinger2005-12-281-2/+2
|
* tweak prototypes to match the exported versionsMike Frysinger2005-12-272-11/+11
|
* fix signed/unsigned warningMike Frysinger2005-12-271-1/+1
|
* kill off simple unused warningsMike Frysinger2005-12-278-15/+15
|
* kill off simple unused warningsMike Frysinger2005-12-271-8/+5
|
* kill off simple unused warningsMike Frysinger2005-12-271-5/+5
|
* 2005-12-15 Aubrey.Li <aubreylee@gmail.com> writes:Mike Frysinger2005-12-271-2/+9
| | | | | | | | | | | | | | | | | | 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.
* kill off minor warningMike Frysinger2005-12-271-1/+1
|
* Aubrey writes:Mike Frysinger2005-12-272-5/+21
| | | | | | | | | | | | | | 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.
* Jan-Benedict Glaw writes:Mike Frysinger2005-12-271-1/+1
| | | | | | 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.
* Add new fnmatch code, for now mbstate_t and mbsrtowcs are depending on ↵Peter S. Mazinger2005-12-243-3/+1688
| | | | UCLIBC_HAS_LOCALE, making the new object about 5k, else it would be 10k
* Move fnmatch.c to fnmatch_old.cPeter S. Mazinger2005-12-242-2/+4
|
* Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger2005-12-1613-23/+16
| | | | of __attribute__ ...
* Remove trailing ;Peter S. Mazinger2005-12-163-5/+3
|
* Remove trailing ; after *alias()Peter S. Mazinger2005-12-169-22/+22
|
* TypoPeter S. Mazinger2005-12-161-1/+1
|
* Adapt some missed prototypesPeter S. Mazinger2005-12-161-4/+6
|
* Forgot about the macros ;-(Peter S. Mazinger2005-12-162-2/+2
|
* memmove, exit are external iconv_mainPeter S. Mazinger2005-12-161-2/+2
|
* Hope it solves JBG's problem, why didn't it bail out here?Peter S. Mazinger2005-12-161-0/+4
|
* Macros are no good for jump relocs, hack to get rid of one introduced my new ↵Peter S. Mazinger2005-12-162-1/+5
| | | | regex code
* Use hidden towupper in new regexPeter S. Mazinger2005-12-161-0/+1
|
* Make new regex build w/ WCHAR disabled, vapier, does it now work for you?Peter S. Mazinger2005-12-162-0/+6
|
* Better guards within _LIBC, cleanup, typosPeter S. Mazinger2005-12-163-19/+10
|