Age | Commit message (Collapse) | Author |
|
|
|
linuxthreads[_db] as well, don't try on slow box
|
|
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
|
|
issue
|
|
|
|
|
|
|
|
socket()
|
|
|
|
|
|
|
|
|
|
NULL by Bernard Fischer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
is a useless attempt
|
|
|
|
gone from libc. The remaining are left as exercise for others ;-)
|
|
|
|
|
|
|
|
missing headers, other jump relocs removed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
e-mail list
|
|
|
|
|
|
|
|
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.
|
|
|
|
was indeed a badly chosen name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|