Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-27 | fix signed/unsigned warning | Mike Frysinger | |
2005-12-27 | kill off simple unused warnings | Mike Frysinger | |
2005-12-27 | kill off simple unused warnings | Mike Frysinger | |
2005-12-27 | kill off simple unused warnings | Mike Frysinger | |
2005-12-27 | 2005-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-27 | kill off minor warning | Mike Frysinger | |
2005-12-27 | Aubrey 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-27 | Jan-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. | |||
2005-12-24 | Add new fnmatch code, for now mbstate_t and mbsrtowcs are depending on ↵ | Peter S. Mazinger | |
UCLIBC_HAS_LOCALE, making the new object about 5k, else it would be 10k | |||
2005-12-24 | Move fnmatch.c to fnmatch_old.c | Peter S. Mazinger | |
2005-12-16 | Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵ | Peter S. Mazinger | |
of __attribute__ ... | |||
2005-12-16 | Remove trailing ; | Peter S. Mazinger | |
2005-12-16 | Remove trailing ; after *alias() | Peter S. Mazinger | |
2005-12-16 | Typo | Peter S. Mazinger | |
2005-12-16 | Adapt some missed prototypes | Peter S. Mazinger | |
2005-12-16 | Forgot about the macros ;-( | Peter S. Mazinger | |
2005-12-16 | memmove, exit are external iconv_main | Peter S. Mazinger | |
2005-12-16 | Hope it solves JBG's problem, why didn't it bail out here? | Peter S. Mazinger | |
2005-12-16 | Macros are no good for jump relocs, hack to get rid of one introduced my new ↵ | Peter S. Mazinger | |
regex code | |||
2005-12-16 | Use hidden towupper in new regex | Peter S. Mazinger | |
2005-12-16 | Make new regex build w/ WCHAR disabled, vapier, does it now work for you? | Peter S. Mazinger | |
2005-12-16 | Better guards within _LIBC, cleanup, typos | Peter S. Mazinger | |
2005-12-16 | Hide towctrans*. What is SMALL_UPLOW and why do we need it? | Peter S. Mazinger | |
2005-12-16 | Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add ↵ | Peter S. Mazinger | |
it back | |||
2005-12-16 | Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵ | Peter S. Mazinger | |
was indeed a badly chosen name | |||
2005-12-16 | Convert users | Peter S. Mazinger | |
2005-12-16 | New regex as well | Peter S. Mazinger | |
2005-12-16 | glob/ftw/regex_old reworked. regex_old did not have MBS_SUPPORT enabled | Peter S. Mazinger | |
2005-12-16 | Correct some problems | Peter S. Mazinger | |
2005-12-16 | New hidden versions | Peter S. Mazinger | |
2005-12-16 | Get rid of warnings, use internals, create new hidden versions | Peter S. Mazinger | |
2005-12-16 | Hide C and wchar related stuff | Peter S. Mazinger | |
2005-12-16 | Hide locales | Peter S. Mazinger | |
2005-12-16 | Convert some users | Peter S. Mazinger | |
2005-12-16 | Disable some unused stuff, better guard for libc | Peter S. Mazinger | |
2005-12-16 | Some undefs to be pedantic | Peter S. Mazinger | |
2005-12-16 | Make clone use internal _exit | Peter S. Mazinger | |
2005-12-16 | Build x64 versions only if LFS is enabled | Peter S. Mazinger | |
2005-12-15 | Hide exit/_exit | Peter S. Mazinger | |
2005-12-15 | Hide fork and vfork, use the newly introduced *alias | Peter S. Mazinger | |
2005-12-15 | Hide *getc* *putc* | Peter S. Mazinger | |
2005-12-15 | silly bug | Eric Andersen | |
2005-12-15 | Fix static apps on linux 2.6. Linux clobbers r7 in 2.6, so | Joakim Tjernlund | |
use r3 instead to pass _dl_fini. | |||
2005-12-14 | include features.h instead of sys/cdefs.h | Mike Frysinger | |
2005-12-14 | Hide _stdio_init/term, sorry, one change went mistakenly into the earlier commit | Peter S. Mazinger | |
2005-12-14 | Do hidden brk, hide _brk as well for some archs, convert users of brk | Peter S. Mazinger | |
2005-12-14 | Fixup byte order handling. Not all architectures define __BIG_ENDIAN__ so i.e. | Eric Andersen | |
on big endian mips the code is compiled as little-endian and the wrong half of the 64-bit point value is examined to check for NaN, etc. This bug also broke fpclassify(), isfinite(), isnormal(), isinf(), finite(), and signbit(). | |||
2005-12-13 | Convert all users of earlier hiddens | Peter S. Mazinger | |
2005-12-13 | Hidden fflush, adapt fopen to hack in libc-internal.h | Peter S. Mazinger | |
2005-12-13 | Hidden readdir* | Peter S. Mazinger | |