Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-12-28 | include grp.h just for fun | Mike Frysinger | |
2005-12-28 | typecast away signed/unsigned warnings | Mike Frysinger | |
2005-12-27 | kill off unused warning | Mike Frysinger | |
2005-12-27 | typecast away a signed/unsigned warning | Mike Frysinger | |
2005-12-27 | cut pointless files | Mike Frysinger | |
2005-12-27 | kill off minor unused warnings | Mike Frysinger | |
2005-12-27 | tweak prototypes to match the exported versions | Mike Frysinger | |
2005-12-27 | fix salt type in setup_salt() | Mike Frysinger | |
2005-12-27 | nlist should be unsigned, not signed, as it tracks # of elements in ↵ | Mike Frysinger | |
init_fini_list | |||
2005-12-27 | revert debug "fix" since it isnt correct and previous version works | Mike Frysinger | |
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-23 | Build PIC objects if DOPIC is set, thx to pcj | Peter S. Mazinger | |
2005-12-22 | Jie Zhang writes: | Mike Frysinger | |
I think the loop was written for MMU case. When there is MMU, mmap () is used to allocate the stack. If one segment is already mapped, we should continue to see if we can use the next one. However, for NOMMU, malloc () is used. It's waste of CPU cycles to continue to try if it fails. Here is a new patch, which makes this change only for NOMMU. | |||
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 | Correct C_SYMBOL_PREFIX handling for asm, supports only none or _ | 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 | Use kernel provided syscalls for user-space, the one from libc is not usable | 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 | |