Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-13 | Convert all users of earlier hiddens | Peter S. Mazinger | |
2005-12-13 | Convert internal users of chmod/*stat*, minimize change for __strsep | Peter S. Mazinger | |
2005-12-10 | Switch fread/fwrite/fclose/pipe/sigsetmask users | Peter S. Mazinger | |
2005-12-09 | Implement hidden listen, use the hidden listen/accept | Peter S. Mazinger | |
2005-12-09 | Implement hidden poll, switch user to hidden *printf/*scanf/poll | Peter S. Mazinger | |
2005-12-09 | internal sigpause, do we really default to BSD signals? | Peter S. Mazinger | |
2005-12-08 | mmap/mremap/socket/rewind gone | Peter S. Mazinger | |
2005-12-08 | Again rpc ;-( , all *inet*, *addr* | Peter S. Mazinger | |
2005-12-08 | Missed alias to xdr_string, thanks sjhill | Peter S. Mazinger | |
2005-12-07 | Hide more | Peter S. Mazinger | |
2005-12-07 | No more *xdr* jump relocations | Peter S. Mazinger | |
2005-12-07 | Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ... | Peter S. Mazinger | |
2005-12-06 | Make use internal str*casecmp/wcscoll | Peter S. Mazinger | |
2005-12-06 | macro out the thread funcs in libc if threading is disabled | Mike Frysinger | |
2005-12-06 | a small TODO | Mike Frysinger | |
2005-12-04 | More hiding, 300 left | Peter S. Mazinger | |
2005-12-03 | Rename newly created __libc_x (reserved for libpthread overwrites) w/ ↵ | Peter S. Mazinger | |
x_internal, do not use cascading aliases | |||
2005-12-03 | More hiding, including __mempcpy | Peter S. Mazinger | |
2005-12-01 | Hide mostly used functions | Peter S. Mazinger | |
2005-11-29 | Hiding again | Peter S. Mazinger | |
2005-11-26 | 100 JUMP relocs less (remaining 431) by hiding internally used ones | Peter S. Mazinger | |
2005-11-21 | Remove TOPDIR | Peter S. Mazinger | |
2005-11-15 | Hide __libc_sa_len | Peter S. Mazinger | |
2005-11-10 | Another s/index/strchr/ | Peter S. Mazinger | |
2005-11-03 | Correct IMA | Peter S. Mazinger | |
2005-11-01 | Remove last unused references to libc-a-pic-, we use only the lists in ↵ | Peter S. Mazinger | |
libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC | |||
2005-10-29 | Replace all Makefiles for new build infrastucture | Peter S. Mazinger | |
2005-10-25 | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | |
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally. | |||
2005-10-20 | only include libc-tsd.h if we have threads support | Mike Frysinger | |
2005-10-12 | Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵ | Peter S. Mazinger | |
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much. | |||
2005-10-04 | One more addition. | "Steven J. Hill" | |
2005-10-04 | Clean up pthread include mess. Some of these will be needed to support NPTL, ↵ | "Steven J. Hill" | |
but they do no harm for the linuxthreads case. Yes, I tested this. | |||
2005-08-18 | add support for getrpcbynumber_r/getrpcbyname_r/getrpcent_r and a config ↵ | Mike Frysinger | |
option to enable REENTRANT RPC | |||
2005-08-18 | add support for getrpcbynumber_r/getrpcbyname_r/getrpcent_r and a config ↵ | Mike Frysinger | |
option to enable REENTRANT RPC | |||
2005-08-18 | rework some of the code to shrink size | Mike Frysinger | |
2005-08-18 | style tweaks | Mike Frysinger | |
2005-08-18 | we have getprotobyname_r() now so use it | Mike Frysinger | |
2005-01-25 | merge parallel build support | Mike Frysinger | |
2004-10-31 | Revert Peter's __lib_gettimeofday patch. There's the minor issue of | Manuel Novoa III | |
adding cruft to include/sys/time.h. But also, there's no sense in making changes like this until we decide how we're going to approach the hidden symbol transition. | |||
2004-10-19 | Peter S. Mazinger writes: | Eric Andersen | |
Hello! Would the attached patch be acceptable (maybe instead of __libc_gettimeofday using __gettimeofday) We have some issues, see http://bugs.gentoo.org/show_bug.cgi?id=65892 | |||
2004-05-14 | Joakim Tjernlund writes: | Eric Andersen | |
Hi Erik It seems to me that __pthread_once and __pthread_initialize_minimal could be made WEAKs with no stub. The code in rpc_thread.c and __uClibc_main.c appears to expect this. Also, __pthread_return_0 __pthread_return_1 and __pthread_return_void can be static, not to pollute the name space. Jocke | |||
2004-04-20 | Cope with gcc 3.4's more aggressive persuit of attribute unused | Eric Andersen | |
2004-03-18 | Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (which | Eric Andersen | |
is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead. | |||
2004-02-18 | Alexandre Oliva writes: | Eric Andersen | |
While testing the FR-V code with GCC mainline, I ran into some problems in the RPC code. It relies on a GCC extension that is no longer available, namely, the result of a cast is no longer considered an lvalue. This patch enables the code to compile. I haven't been able to test RPC though, especially in a multi-threaded environment. | |||
2004-01-16 | s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g | Eric Andersen | |
2003-12-27 | Fix a long-standing bug with pthreads. A couple of linuxthreads files | Manuel Novoa III | |
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests. | |||
2003-12-02 | Avoid a potentially undefined operation with a veriable++ in a macro | Eric Andersen | |