summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-15add strerror_r symbol alias as some autotool based packages simply use ↵Mike Frysinger
AC_CHECK_LIB() to see if a function exists rather than checking the headers
2007-09-15drop __user hack for crappy kernel headers and document the __linux__ greaseMike Frysinger
2007-09-15fix from Kevin Day to make sure we use strchr() rather than index()Mike Frysinger
2007-08-01sgetspent: add missing free/__uc_malloc callsDenis Vlasenko
(spotted by Peter S. Mazinger <ps.m@gmx.net>)
2007-07-30make regex_old.c, ruserpass.c use __uc_malloc,Denis Vlasenko
replace "buf = malloc(BUFSIZ); if (!buf) abort();" by __uc_malloc elsewhere. With last 7 patches together uclibc has 3k of static data total with fairly big .config and with 2k being used for 2 x BUFSIZ stdio buffer: text data bss dec hex filename 114 132 2048 2294 8f6 _stdio.o (ex lib/libc.a) total data 593 total bss 3062
2007-07-30make getnetent.c, md5.c use __uc_mallocDenis Vlasenko
2007-07-30make utent.c, getpass.c use __uc_mallocDenis Vlasenko
2007-07-30make pwd_grp.c use __uc_mallocDenis Vlasenko
2007-07-30patch #3: make resolv.c use __uc_mallocDenis Vlasenko
2007-07-30convert des.c to use __uc_malloc (-70 kbytes of bss)Denis Vlasenko
2007-07-30introduce __uc_malloc, so that users can intercept libc internal OOM.Denis Vlasenko
2007-07-29Remove stray code alignment (.align 16 and .align 4 directives)Denis Vlasenko
from i386 and x86_64.
2007-07-18execXp should go to next PATH dir on any error except ENOEXEC,Denis Vlasenko
not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this.
2007-07-18include/sys/mman.h says that msync exists only on MMU.Denis Vlasenko
Make msync.c agree on this.
2007-07-18des.c: move 0.5k of static data on stack, they are used only temporarilyDenis Vlasenko
by des_init.
2007-07-18Enable all of the remaining baud rates. All of the other architectures have ↵"Steven J. Hill"
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.
2007-07-18Apply patch as submitted by Blue Smurfy Swirly <blauwirbel@gmail.com> for ↵"Steven J. Hill"
Sparc32.
2007-07-14syslog.h: allow prioritynames[]/facilitynames[] to be defined constDenis Vlasenko
(selectable by #defining SYSLOG_NAMES_CONST)
2007-07-12Fix broken syscall() function since the original patch did not work."Steven J. Hill"
2007-06-29tweak msync prototype to match headerMike Frysinger
2007-06-24- make sure to define _LIBC in libc-symbols.h before including anythingBernhard Reutner-Fischer
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.
2007-06-22as noted by psm, make sure we accumulate PICFLAG-y back into PICFLAGMike Frysinger
2007-06-22pull from Blackfin repo: add -mid-shared-library for ↵Mike Frysinger
UCLIBC_FORMAT_SHARED_FLAT and -msep-data for UCLIBC_FORMAT_FLAT_SEP_DATA
2007-06-13Carmelo AMOROSO <carmelo.amoroso@st.com> writes:Joakim Tjernlund
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
2007-06-04Correct return value. Pointed out by psm.Joakim Tjernlund
2007-06-01change the auxvt code from being dependent on MMU to !LDSO as auxvt things ↵Mike Frysinger
are ELF-specific, not MMU-specific
2007-05-31Bernd Schmidt writes: make sure custom stacks work properly for no-mmuMike Frysinger
2007-05-31Atsushi Nemoto writes:Mike Frysinger
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.
2007-05-31Atsushi Nemoto writes:Mike Frysinger
http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html states it returns error code instead of setting errno.
2007-05-25Jean-Christian de Rivaz writes:Mike Frysinger
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.
2007-05-25Remove the arch specific mmap impl. for Powerpc. The common one will do.Joakim Tjernlund
2007-05-24use POSIX -eq rather than bash == #1360Mike Frysinger
2007-05-24Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵"Steven J. Hill"
Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> .
2007-05-24Fix ARM EABI signal unwinding to accomodate signal frame layout between ↵"Steven J. Hill"
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> .
2007-05-15Restored indentation.Peter Kjellerstedt
2007-05-15Made it compile again.Peter Kjellerstedt
2007-05-15Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj
2007-05-15Remove preprocessor warning due to missing definition of USE_TLSKhem Raj
2007-05-06Nickolai Zeldovich writes: if the temp name already exists, then the retry ↵Mike Frysinger
code does not create a new temp name as the code to do so is outside of the retry loop
2007-05-04- commentary typo fixBernhard Reutner-Fischer
2007-05-03give proper prototypesMike Frysinger
2007-05-02cancellation-points needs librtMike Frysinger
2007-05-02exercise all required POSIX pthread cancellation pointsMike Frysinger
2007-05-02Nickolai Zeldovich writes:Mike Frysinger
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.
2007-05-02Daniel Jacobowitz: sleep()/usleep() relies on nanosleep() being a cancellationMike Frysinger
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.
2007-04-30Carmelo AMOROSO writes:Mike Frysinger
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.
2007-04-24fix from Bernd Schmidt for realloc shrinkage bugMike Frysinger
2007-04-23- include stdbool.hBernhard Reutner-Fischer
2007-04-21This test needs XLOCALE to work."Steven J. Hill"
2007-04-18Bugfix from Atsushi Nemoto: return nonzero error code on failure Rob Landley
(without which busybox ping segfaults on error). Broken during locking changes in in svn 16801.