Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | patch #3: make resolv.c use __uc_malloc | Denis Vlasenko | 2007-07-30 | 1 | -12/+29 |
| | |||||
* | introduce __uc_malloc, so that users can intercept libc internal OOM. | Denis Vlasenko | 2007-07-30 | 2 | -1/+42 |
| | |||||
* | Remove stray code alignment (.align 16 and .align 4 directives) | Denis Vlasenko | 2007-07-29 | 25 | -28/+16 |
| | | | | | from i386 and x86_64. | ||||
* | execXp should go to next PATH dir on any error except ENOEXEC, | Denis Vlasenko | 2007-07-18 | 1 | -3/+3 |
| | | | | | | not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this. | ||||
* | include/sys/mman.h says that msync exists only on MMU. | Denis Vlasenko | 2007-07-18 | 1 | -0/+4 |
| | | | | | Make msync.c agree on this. | ||||
* | Enable all of the remaining baud rates. All of the other architectures have ↵ | "Steven J. Hill" | 2007-07-18 | 1 | -4/+0 |
| | | | | them enabled, so let's go all the way. There was a quick discussion on IRC about making the max baud rate configurable. That requires a bunch of #ifdef salting throughout all of the 'termios.h' files for the pre-processor to chew on. I'm going to pass on that for now. | ||||
* | Fix broken syscall() function since the original patch did not work. | "Steven J. Hill" | 2007-07-12 | 1 | -2/+4 |
| | |||||
* | - make sure to define _LIBC in libc-symbols.h before including anything | Bernhard Reutner-Fischer | 2007-06-24 | 1 | -0/+2 |
| | | | | | | else. - internal_function is only used inside libc, so do not define it in uClibc_arch_features.h on i386 if we are outside of libc. | ||||
* | Carmelo AMOROSO <carmelo.amoroso@st.com> writes: | Joakim Tjernlund | 2007-06-13 | 1 | -2/+14 |
| | | | | | | | | Hi All, this patch fixes a mismatch in ucontext struct between uClibc and kernel. In this way a signal handler installed by sigaction can access to the whole machine state correctly. This can be applied both to trunk and nptl branch | ||||
* | change the auxvt code from being dependent on MMU to !LDSO as auxvt things ↵ | Mike Frysinger | 2007-06-01 | 1 | -5/+5 |
| | | | | are ELF-specific, not MMU-specific | ||||
* | Atsushi Nemoto writes: | Mike Frysinger | 2007-05-31 | 4 | -1/+122 |
| | | | | | | | | Current MIPS readahead(), posix_fadvise(), posix_fadvise64() do not match with kernel on all ABIs. On O32 ABI, a padding is needed before a long long argument. On N32/N64, a long long argument should be passed via a single register. | ||||
* | Atsushi Nemoto writes: | Mike Frysinger | 2007-05-31 | 4 | -8/+4 |
| | | | | | http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html states it returns error code instead of setting errno. | ||||
* | Jean-Christian de Rivaz writes: | Mike Frysinger | 2007-05-25 | 1 | -1/+1 |
| | | | | | | | | I actually suspect this code into the file uClibc/libc/sysdeps/linux/common/poll.c: tval.tv_nsec = (timeout % 1000) *1000; <==== make only usec! From milisecond this really needs a * 1000000 to make nanosecond. Without this a 1100 milisecond timeout is converted into a 1 seconde and 100 microsecond timeout! This can explain the weird result of the test code. | ||||
* | Remove the arch specific mmap impl. for Powerpc. The common one will do. | Joakim Tjernlund | 2007-05-25 | 2 | -56/+1 |
| | |||||
* | Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵ | "Steven J. Hill" | 2007-05-24 | 2 | -5/+20 |
| | | | | Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> . | ||||
* | Fix ARM EABI signal unwinding to accomodate signal frame layout between ↵ | "Steven J. Hill" | 2007-05-24 | 1 | -2/+13 |
| | | | | Linux kernel versions as reported by Joseph S. Myers on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017971.html> . | ||||
* | Restored indentation. | Peter Kjellerstedt | 2007-05-15 | 2 | -11/+13 |
| | |||||
* | Made it compile again. | Peter Kjellerstedt | 2007-05-15 | 1 | -1/+1 |
| | |||||
* | Fix arm mmap when using mmap2 syscall. Fixes bug #1303 | Khem Raj | 2007-05-15 | 2 | -4/+16 |
| | |||||
* | Nickolai Zeldovich writes: if the temp name already exists, then the retry ↵ | Mike Frysinger | 2007-05-06 | 1 | -10/+9 |
| | | | | code does not create a new temp name as the code to do so is outside of the retry loop | ||||
* | - commentary typo fix | Bernhard Reutner-Fischer | 2007-05-04 | 1 | -1/+1 |
| | |||||
* | Nickolai Zeldovich writes: | Mike Frysinger | 2007-05-02 | 1 | -3/+3 |
| | | | | | | | | Currently, tcgetpgrp() in uClibc uses an int to store a PID (fetched via ioctl TIOCGPGRP). This causes problems on platforms where pid_t is defined to be larger (e.g., uint64_t). Other functions in termios, such as tcgetsid() and tcsetpgrp(), already pass a pid_t to ioctl(), so the following patch does the same in tcgetpgrp() as well. | ||||
* | Daniel Jacobowitz: sleep()/usleep() relies on nanosleep() being a cancellation | Mike Frysinger | 2007-05-02 | 2 | -2/+2 |
| | | | | | | point but the files have "libc_hidden_proto(nanosleep)" which means it always calls the libc.so version, never the wrapped version in libpthread.so that's a cancellation point. | ||||
* | Carmelo AMOROSO writes: | Mike Frysinger | 2007-04-30 | 1 | -2/+2 |
| | | | | | | | running LTP test suite on uClibc-nptl for sh4 I found a bug into pread and pwrite functions. When the offset is negative it is not correctly handled due to a missing shift operation, so it is passed to the syscall as the highest unsigned positive value. | ||||
* | fix from Bernd Schmidt for realloc shrinkage bug | Mike Frysinger | 2007-04-24 | 1 | -0/+5 |
| | |||||
* | - include stdbool.h | Bernhard Reutner-Fischer | 2007-04-23 | 1 | -0/+1 |
| | |||||
* | Bugfix from Atsushi Nemoto: return nonzero error code on failure | Rob Landley | 2007-04-18 | 1 | -1/+1 |
| | | | | | (without which busybox ping segfaults on error). Broken during locking changes in in svn 16801. | ||||
* | - shrink resolver code | Bernhard Reutner-Fischer | 2007-04-17 | 2 | -75/+81 |
| | |||||
* | - dtrt | Bernhard Reutner-Fischer | 2007-04-14 | 1 | -2/+4 |
| | |||||
* | fix up malloc debug building | Mike Frysinger | 2007-04-13 | 10 | -13/+14 |
| | |||||
* | Patch by Ricard Wanderlof <ricardw at axis dot com>: | Peter Kjellerstedt | 2007-04-13 | 2 | -30/+20 |
| | | | | | | * Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default). | ||||
* | POSIX says you can use realloc() to shrink buffers ... make sure we dont ↵ | Mike Frysinger | 2007-04-11 | 1 | -1/+2 |
| | | | | trigger a buffer overflow in that case | ||||
* | fixes from Carmelo AMOROSO to depend less on kernel headers | Mike Frysinger | 2007-04-02 | 1 | -1/+10 |
| | |||||
* | POSIX requires that errno be set whenever 0 is returned by malloc() | Mike Frysinger | 2007-04-02 | 3 | -3/+7 |
| | |||||
* | Update comment regarding passing dl_fini. | Joakim Tjernlund | 2007-03-31 | 1 | -2/+5 |
| | |||||
* | Revert last change until we figure out the correct fix. | Rob Landley | 2007-03-29 | 1 | -1/+1 |
| | |||||
* | Make the code match the comments. (I narrowed down the bug, Khem Raj | Rob Landley | 2007-03-28 | 1 | -1/+1 |
| | | | | | pointed out the solution. This fixes a segfault for me on exit from a statically linked "hello world".) | ||||
* | Warning fix for uninitialized variable, by Al Stone. | Rob Landley | 2007-03-28 | 1 | -0/+1 |
| | |||||
* | Joseph S. Myers writes: | Joakim Tjernlund | 2007-03-19 | 1 | -0/+7 |
| | | | | | | | | | On PowerPC, r13 is used for a small data pointer and needs to be set up from _SDA_BASE_ (defined by the linker) at startup. This is needed for the GCC testcase gcc.target/powerpc/980827-1.c to work. This patch fixes that testcase (verified for both static and dynamic linking). | ||||
* | #1273 if EXTRAVERSION is set, make sure we respect it | Mike Frysinger | 2007-03-19 | 1 | -1/+1 |
| | |||||
* | Bernd Schmidt writes: The following patch is needed for libc to be able to ↵ | Mike Frysinger | 2007-03-18 | 1 | -0/+3 |
| | | | | emulate poll with ppoll. | ||||
* | dont include asm/user.h | Mike Frysinger | 2007-03-14 | 1 | -3/+53 |
| | |||||
* | Using local variable 'result' caused problems with lseek64 syscall failing ↵ | Khem Raj | 2007-03-13 | 1 | -10/+9 |
| | | | | with gcc 4.2. Renaming to make it a bit uncommon name. | ||||
* | fix from upstream blackfin repo for sigsetjmp | Mike Frysinger | 2007-03-12 | 1 | -2/+3 |
| | |||||
* | Patch from Al Stone to fix ia64: | Rob Landley | 2007-03-11 | 4 | -5/+5 |
| | | | | | | | | | The attached patch works around some compilation failures on ia64 caused by the use of the C preprocessor ## operator, and allows the ia64 default configuration to build again -- or, at least get as far as an x86 build does (the current source tree has some problems compiling because of conflicting type declarations for __kernel_dev_t). | ||||
* | Sync kernel_stat64 with kernel. Thanks to Daniel Jacobowitz for hints. | Khem Raj | 2007-03-08 | 1 | -7/+2 |
| | |||||
* | Patch from Khem Raj that fixes running gcc on arm for me. (Otherwise it | Rob Landley | 2007-03-08 | 1 | -6/+42 |
| | | | | says "virtual memory exhausted" trying to build hello world.) | ||||
* | svn 17941/17943 broke the build. 18032 made the threaded case compile | Rob Landley | 2007-03-08 | 2 | -14/+4 |
| | | | | | | again, this makes the non-threaded case compile again. I have no idea if this is the proper fix, I'm just tired if it not compiling for two weeks. | ||||
* | Fix a build break due to errno and h_errno being unresolved symbols. | Rob Landley | 2007-03-07 | 1 | -2/+2 |
| | | | | (No idea if this is the right fix but it's something for now.) | ||||
* | Sync sh's procfs.h with glibc, fixes gdbserver. | Paul Mundt | 2007-03-07 | 1 | -2/+2 |
| | | | | | Patch from Carmelo Amoroso <carmelo73@gmail.com>. |