summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix grammar0_9_26Eric Andersen2004-01-041-5/+5
|
* Update for releaseEric Andersen2004-01-044-4/+96
|
* My mistake. We do need some weak pthread_* funcs. But we were previouslyManuel Novoa III2004-01-041-2/+87
| | | | | | | missing one in the glibc abi, and including a number of extras (which I left in commented). Unfortunately, this brings back the perl pthread bug. Fixing the incorrect weaks in libpthread wasn't sufficient to escape the shared loader bug. :-(
* Fix up the news a bit0_9_25Eric Andersen2004-01-032-119/+118
|
* Update for releaseEric Andersen2004-01-037-907/+1315
|
* Be sure to fully clean 2.6 kernel headers on 'make clean'Eric Andersen2004-01-031-1/+1
|
* Add ldflags where neededEric Andersen2004-01-031-7/+7
|
* And just like that, clone is now fixed.... Previously theEric Andersen2004-01-031-26/+38
| | | | | error handling code was mostly broken. -Erik
* oopsEric Andersen2004-01-031-6/+0
|
* Minor changesEric Andersen2004-01-031-13/+24
|
* A useful/useless little malloc time testEric Andersen2004-01-021-0/+62
|
* Peter S. Mazinger writes:Eric Andersen2004-01-028-2/+215
| | | | | | | | | | | | | | | | | | | Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter
* Minor update of the debian packaging stuffEric Andersen2004-01-023-2/+9
|
* Remove remnants of the gcc wrapperEric Andersen2004-01-021-3/+3
|
* Do not make tests depend on CC, since we no longer build a wrapper.Eric Andersen2004-01-0218-52/+52
|
* Bump version, cleanup whitespaceEric Andersen2004-01-021-4/+4
|
* Cope with 2.6.x headersEric Andersen2004-01-022-20/+29
|
* rohde at soap dot adsl dot dk writes:Eric Andersen2004-01-021-1/+1
| | | | | | | | The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :)
* rohde at soap dot adsl dot dk writes:Eric Andersen2004-01-021-1/+1
| | | | | The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
* Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)Manuel Novoa III2004-01-021-10/+13
| | | | | | Fix (hopefully) a potential problem with failed freopen() calls. The fix isn't tested since I've been working on the replacement stdio core code which will go in after the next release.
* Oops... temporarily support the old stdio code.Manuel Novoa III2004-01-021-0/+5
|
* The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III2004-01-021-72/+5
| | | | seeing any LTP failures.
* Redo the exec functions to comply with SUSv3.Manuel Novoa III2004-01-028-208/+332
|
* Rewrite popen for SUSv3 compliance.Manuel Novoa III2004-01-021-47/+171
| | | | | | | Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve().
* Minor fix from upstream glibc.Manuel Novoa III2004-01-021-4/+8
|
* Kept the same approach, but rewrote the code for the most part.Manuel Novoa III2004-01-021-86/+98
| | | | Fixed some minor issues plus (as I recall) one SUSv3 errno case.
* Fir errno return when the file/path is NULL or points to an empty string.Eric Andersen2003-12-311-6/+6
| | | | -Erik
* Add extra checks for sigprocmask and rt_sigprocmask syscalls.Eric Andersen2003-12-311-4/+34
| | | | | | | The rt_sigprocmask syscall has broken error handling in 2.4.x kernels, while the sigprocmask syscall appears to get things right. Regardless we should be extra careful, and add these checks.
* Fix the manditory typo in my last minute untested fix.Eric Andersen2003-12-301-1/+1
| | | | -Erik
* Make sleep behave itself properly inthe presence of SIGCHLDEric Andersen2003-12-302-11/+8
|
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-3020-807/+3155
| | | | | | | Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik
* Update and restore malloc-simple. Slow as molasses, but triviallyEric Andersen2003-12-302-0/+233
| | | | | simple and releases memory immediately when asked to do so. -Erik
* Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6Eric Andersen2003-12-281-1/+3
| | | | | | | | | support) which could cause things like EOF and read errors while reading /etc/services to always return a TRY_AGAIN. The perl test suite would alloc a larger buffer and try again until all memory was exhausted. When we get a read error, or EOF, it means we didn't get what we wanted, and so we should return an error. Doing so fixes the failing perl 5.8.2 test. -Erik
* Fix whitespaceEric Andersen2003-12-281-5/+5
|
* remove unused fileEric Andersen2003-12-282-121/+1
|
* Handle the app_fini stuff in exit without requiring atexit().Manuel Novoa III2003-12-272-3/+13
| | | | This avoids pulling in all the malloc/free code for a simple true/false app.
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-2737-155/+129
| | | | | | | | | | | | | | | | 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.
* oopsEric Andersen2003-12-221-1/+1
|
* implement the worthless cuserid() function we claim to support.Eric Andersen2003-12-221-0/+8
| | | | | This isn't in SuSv3, but is expected by at least some apps such as emacs...
* In unistd.h, getpgrp() is redirected to __getpgid(), butEric Andersen2003-12-221-1/+3
| | | | we did not have a __getpgid(). Fix that.
* That was awfully stupid.Eric Andersen2003-12-221-4/+5
|
* Use 'sed -i -e' rather than 'sed -ie' since we don't wantEric Andersen2003-12-221-8/+8
| | | | | to leave backup files with "e" appended scattered all over the place.
* Update the config used when building a .debEric Andersen2003-12-222-8/+13
|
* dev systems updatedEric Andersen2003-12-192-4/+32
|
* Use PAGE_SIZE rather than hard coding 4096Eric Andersen2003-12-175-29/+31
|
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-179-1/+1039
| | | | | | | | | | Here's the patch for the ldso bits for sh64. This is still in need of a bunch of debugging, testing, etc. and is really only being submitted for general completeness. This assumes that the previous patches I've submitted have already been applied. I plan on playing with this and buildroot some more later, as I'd definitely like to see buildroot images for sh64.
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-1717-69/+71
| | | | | | | | | | | | | | | | | For sh64 we need implicit access to the symtab, primarily to get at the ->st_other value. This presently isn't possible, as PERFORM_BOOTSTRAP_RELOC() is invoked as such: PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr); while we can easily get the symtab_index value from rpnt->r_info, this still doesn't buy us easy access to the actual table. As such, I've modified PERFORM_BOOTSTRAP_RELOC() to take an additional SYMTAB argument. Most architectures aren't going to care about this, but unfortunately we don't have any other options for sh64. The following patch fixes up the API for what we need for sh64, and updates the other architectures appropriately.
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-175-1/+431
| | | | | The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree.
* When I switched from using stack allocated space for printf, I missed a caseEric Andersen2003-12-172-6/+10
| | | | | | | | where a sizeof(foo) was changed to the sizeof a pointer. This caused _dl_printf to complain a lot when debug is enabled (which itself revealed a bug since it should have exited on buffer overflow), and let me to find another bug, where memory failures would try to recursively call _dl_printf.... What a mess.
* Add in the axis network camerasEric Andersen2003-12-171-0/+1
|