Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Define MALLOC_SET_SIZE to take the user-address rather than the base-address. | Miles Bader | 2002-07-30 | 1 | -2/+2 | |
| | ||||||
* | Implement shrinking. | Miles Bader | 2002-07-30 | 1 | -6/+19 | |
| | | | | | Fix bug when growing an allocation. Use new malloc header macros. | |||||
* | Use new malloc header macros. | Miles Bader | 2002-07-30 | 2 | -5/+6 | |
| | ||||||
* | Add macros to abstract the malloc header format a bit. | Miles Bader | 2002-07-30 | 1 | -1/+22 | |
| | ||||||
* | Oops. I accidentally omitted the actual mknod() function. | Eric Andersen | 2002-07-27 | 1 | -0/+9 | |
| | | | | -Erik | |||||
* | Ok, I get it. sjhill kept adding the 'find' command since | Eric Andersen | 2002-07-26 | 1 | -0/+1 | |
| | | | | | | include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik | |||||
* | The __set_errno macro _must_ match that defined in include/bits/errno.h. We | Eric Andersen | 2002-07-26 | 1 | -1/+9 | |
| | | | | | | | can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik | |||||
* | ldso specific syscalls and userspace syscalls all in one file now. | "Steven J. Hill" | 2002-07-25 | 1 | -5/+214 | |
| | ||||||
* | Implement syscall() for arm | Eric Andersen | 2002-07-25 | 2 | -1/+50 | |
| | | | | -Erik | |||||
* | Size tweaks. | Miles Bader | 2002-07-25 | 3 | -15/+17 | |
| | ||||||
* | Miscellaneous tidying-up. | Miles Bader | 2002-07-25 | 2 | -13/+10 | |
| | ||||||
* | Redo the locking, so that it may actually work. Now locking is done at | Miles Bader | 2002-07-25 | 8 | -130/+186 | |
| | | | | | | | | | the malloc/free level, not within the heap abstraction, and there's a separate lock to control sbrk access. Also, get rid of the separate `unmap_free_area' function in free.c, and just put the code in the `free' function directly, which saves a bunch of space (even compared to using an inline function) for some reason. | |||||
* | Add support for people calling syscall() | Eric Andersen | 2002-07-24 | 3 | -76/+78 | |
| | | | | -Erik | |||||
* | Remove source files that, well, no longer exist :). | "Steven J. Hill" | 2002-07-24 | 1 | -1/+1 | |
| | ||||||
* | Factor out some common code sequences into inline functions. | Miles Bader | 2002-07-24 | 2 | -53/+74 | |
| | ||||||
* | Misc small cleanups. | Miles Bader | 2002-07-24 | 3 | -4/+6 | |
| | ||||||
* | Remove, since it's entirely incorrect | Miles Bader | 2002-07-24 | 1 | -33/+0 | |
| | ||||||
* | * Automatically try to unmap heap free-areas when they get very big. | Miles Bader | 2002-07-23 | 8 | -190/+234 | |
| | | | | | | | | * Instead of using mmap/munmap directly for large allocations, just use the heap for everything (this is reasonable now that heap memory can be unmapped). * Use sbrk instead of mmap/munmap on systems with an MMU. | |||||
* | Add some syscalls which I moved out of syscalls.c | Eric Andersen | 2002-07-22 | 5 | -0/+239 | |
| | | | | -Erik | |||||
* | Rework syscall handling. Rewrite syscall handlers for x86 and ARM. | Eric Andersen | 2002-07-22 | 20 | -886/+423 | |
| | | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik | |||||
* | Doc fix. | Miles Bader | 2002-07-19 | 5 | -5/+5 | |
| | ||||||
* | Rename mutex stuff to use heap-specific names. | Miles Bader | 2002-07-19 | 5 | -24/+26 | |
| | | | | Doc fix. | |||||
* | Miles Bader implemented a new mmap based malloc which is much | Eric Andersen | 2002-07-18 | 16 | -1392/+740 | |
| | | | | | | | smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles! | |||||
* | Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> so | Eric Andersen | 2002-07-16 | 1 | -1/+1 | |
| | | | | that cfsetspeed would actually be compiled in. | |||||
* | We don't need the debug versions | Eric Andersen | 2002-07-16 | 1 | -2/+2 | |
| | ||||||
* | __morecore need not be a function pointer | Eric Andersen | 2002-07-16 | 1 | -9/+8 | |
| | ||||||
* | Disable debug stuff by default | Eric Andersen | 2002-07-16 | 1 | -1/+1 | |
| | ||||||
* | Odd. Got a copy of junk in here. | Eric Andersen | 2002-07-16 | 1 | -9/+0 | |
| | ||||||
* | Do not assume NULL termination on the ut_id field. Thanks | Eric Andersen | 2002-07-16 | 1 | -1/+1 | |
| | | | | to mac12@po.cwru.edu for spotting this one. | |||||
* | Clean up CLK_TCK situation. clock() and sysconf() now use an | Manuel Novoa III | 2002-07-15 | 7 | -165/+49 | |
| | | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary. | |||||
* | stupid cut-n-paste bug | Eric Andersen | 2002-07-15 | 1 | -5/+5 | |
| | | | | -Erik | |||||
* | Patch for a silly bug from David Blythe | Eric Andersen | 2002-07-15 | 1 | -1/+1 | |
| | ||||||
* | Silence a couple of silly warnings | Eric Andersen | 2002-07-15 | 2 | -0/+2 | |
| | | | | -Erik | |||||
* | Rework pread and pwrite support so it should actually work. | Eric Andersen | 2002-07-15 | 3 | -33/+219 | |
| | | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik | |||||
* | Kill this stale file | Eric Andersen | 2002-07-11 | 2 | -32/+1 | |
| | ||||||
* | Tobias Anderberg <tobias.anderberg@axis.com> noticed that | Eric Andersen | 2002-07-10 | 1 | -1/+1 | |
| | | | | | we were opening the socket() as SOCK_STREAM instead of using SOCK_DGRAM like we should have done. | |||||
* | Per bug report from Ronald Wahl <rwa@peppercon.com>: | Eric Andersen | 2002-07-10 | 1 | -19/+16 | |
| | | | | | | | | | | | ...inet_pton breaks since tolower is implemented as a macro and its argument is evaluated more than once: while ((ch = tolower (*src++)) != '\0') { So I fixed it by just undefining tolower() so we use the function version, not the macro. -Erik | |||||
* | Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leak | Eric Andersen | 2002-07-10 | 1 | -1/+1 | |
| | ||||||
* | Remove obsolete code. | Manuel Novoa III | 2002-07-08 | 1 | -179/+0 | |
| | ||||||
* | Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal. | Manuel Novoa III | 2002-07-08 | 2 | -22/+195 | |
| | ||||||
* | Finer grained locking in __connect_dns() so we don't hold the | Eric Andersen | 2002-07-08 | 1 | -6/+19 | |
| | | | | | lock while sending packets out onto the wire. -Erik | |||||
* | Obligatory forgotten file. | Manuel Novoa III | 2002-07-07 | 1 | -3/+4 | |
| | ||||||
* | Attempt to clean up the strerror_r situation. | Manuel Novoa III | 2002-07-07 | 7 | -329/+379 | |
| | ||||||
* | Doh! search-n-replace strikes again | Eric Andersen | 2002-07-07 | 2 | -5/+5 | |
| | | | | -Erik | |||||
* | Fix namespace pollution by hiding statfix and statfix64 by | Eric Andersen | 2002-07-07 | 5 | -11/+11 | |
| | | | | | prepending an __ to the name. Not perfect but better. -Erik | |||||
* | Cleanup namespace leaks by prepending __ to global stuff to | Eric Andersen | 2002-07-07 | 5 | -150/+143 | |
| | | | | | indicate it is (alledgedly) private. -Erik | |||||
* | Kill namespace pollution in getrpcent.c. Silence other rpc warnings | Eric Andersen | 2002-07-07 | 4 | -24/+17 | |
| | | | | | | by fixing prototypes. Fix global stuff so it should behave itself properly now, -Erik | |||||
* | Patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to cleanup | Eric Andersen | 2002-07-07 | 1 | -44/+46 | |
| | | | | | connect_dns() and simplify IPV6 support by reducing the number of ifdefs sprinkled about. | |||||
* | Stupid filesystems like cramfs fail to guarantee that st_ino and st_dev | Eric Andersen | 2002-07-06 | 1 | -2/+11 | |
| | | | | | | | uniquely identify a file, contrary to SuSv3, so we cannot be quite so precise as to require an exact match. Settle for something less... Grumble... -Erik | |||||
* | Add copyright message and remove dead code. | Manuel Novoa III | 2002-07-05 | 1 | -157/+28 | |
| |