summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/auth_unix.c
Commit message (Collapse)AuthorAgeFilesLines
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-3/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-16/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-9/+9
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-5/+5
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-201-2/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-1/+0
| | | | most of global data relocations are back
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-0/+1
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-2/+2
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-21/+29
| | | | missing headers, other jump relocs removed
* make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the ↵Mike Frysinger2005-12-281-5/+8
| | | | e-mail list
* 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
|
* Convert some users and get rid of __rpc_thread_createerr jump reloc, this ↵Peter S. Mazinger2005-12-161-0/+1
| | | | was indeed a badly chosen name
* Again rpc ;-( , all *inet*, *addr*Peter S. Mazinger2005-12-081-0/+1
|
* Hide morePeter S. Mazinger2005-12-071-0/+2
|
* No more *xdr* jump relocationsPeter S. Mazinger2005-12-071-0/+2
|
* Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger2005-12-071-1/+1
|
* More hiding, 300 leftPeter S. Mazinger2005-12-041-0/+1
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-0/+1
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-1/+1
|
* Hiding againPeter S. Mazinger2005-11-291-0/+3
|
* 100 JUMP relocs less (remaining 431) by hiding internally used onesPeter S. Mazinger2005-11-261-5/+7
|
* Revert Peter's __lib_gettimeofday patch. There's the minor issue ofManuel Novoa III2004-10-311-2/+2
| | | | | | 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.
* Peter S. Mazinger writes:Eric Andersen2004-10-191-2/+2
| | | | | | | | | | | 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
* Re-backport all the rpc stuff from glibc 2.2.5. This allows us to make thisEric Andersen2002-06-171-206/+221
| | | | | | | | junk (and I do mean that ;-) thread safe without undue pain. Adds 12k worth to the code size I'm afraid, but since I never use NFS and therefore never include this stuff, I guess thats acceptable. I still need to enable the multi-threaded bits... -Erik
* Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen2001-11-211-1/+1
| | | | | support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
* Clean up lots of warnings.Manuel Novoa III2001-02-121-2/+2
|
* Update networking includes.Eric Andersen2001-02-051-5/+2
|
* I've been working on fixing up the rpc crap. now it is onlyEric Andersen2001-01-151-6/+3
| | | | _mostly_ broken, a big improvement. Still doesn't compile...
* Bug ugly formatting updateEric Andersen2000-10-091-66/+60
|
* More cleanupsEric Andersen2000-10-071-0/+3
|
* Initial revision0_9_1Erik Andersen2000-05-141-0/+319