summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
AgeCommit message (Collapse)Author
2004-05-07Patch from Yoshinori Sato <ysato@users.sourceforge.jp>.Manuel Novoa III
2004-05-07Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-04-14Fix typo.Manuel Novoa III
2004-03-19Per patch from Stefan Holst, do not try to compile theseEric Andersen
syscalls if they are not supported.
2004-03-19Based on a patch from Alexandre Oliva, allow uClibc to compileEric Andersen
with __NR_mmap is not available (i.e. only __NR_mmap2)
2004-03-18Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (whichEric Andersen
is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
2004-03-12Cope gracefully with missing module syscallsEric Andersen
2004-02-17Fixup fdatasync on alpha, thanks to Alan HourihaneEric Andersen
2004-02-11New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III
Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
2004-02-11Fix bug from the syscall reorganization, detected by python's test_poll.py.Manuel Novoa III
The #ifdef __NR_poll test was failing because it was done before any includes. Hence, the emulation was always being used. NOTE: The emulation fails a couple of tests in test_poll.py!
2004-02-10Do not include the create_module syscall if it is not presentEric Andersen
2004-02-05Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.Manuel Novoa III
2004-01-30Andrew May writes:Eric Andersen
Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial.
2004-01-21Sort all the filesEric Andersen
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-21Add pollEric Andersen
2004-01-21Move poll to its own file, rather than being only half in its own fileEric Andersen
2004-01-21Massive formatting cleanup, making it easier to parseEric Andersen
2004-01-16s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen
2004-01-02Peter S. Mazinger writes:Eric Andersen
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
2004-01-02The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III
seeing any LTP failures.
2004-01-02Minor fix from upstream glibc.Manuel Novoa III
2003-12-31Fir errno return when the file/path is NULL or points to an empty string.Eric Andersen
-Erik
2003-12-31Add extra checks for sigprocmask and rt_sigprocmask syscalls.Eric Andersen
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.
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
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.
2003-12-22In unistd.h, getpgrp() is redirected to __getpgid(), butEric Andersen
we did not have a __getpgid(). Fix that.
2003-11-17If __NR_ftruncate64 isn't defined, do the best we can.Manuel Novoa III
2003-11-16Fix a build problem when using 2.2.x kernel headers.Manuel Novoa III
2003-11-12Add support for missing ntp_gettime and ntp_adjtimeEric Andersen
2003-11-11Fix for the last "fix".Manuel Novoa III
2003-11-11Protect some header inclusions.Manuel Novoa III
2003-11-08Fix up several errors related to filename length and errno thatEric Andersen
showed up while running the latest LTP testsuite. -Erik
2003-11-06Add a utility macro.Manuel Novoa III
2003-11-05Remove erroneous trailing semicolon.Manuel Novoa III
2003-11-05last but certinaly not least, kill off initfini.cEric Andersen
2003-11-05Kill initfini.awkEric Andersen
2003-11-02Both setegid and seteuid were implemented suboptimally, such thatEric Andersen
we were unable to switch back to the original saved group/user ID. -Erik
2003-11-02Be extra careful to check uid and gid converstions to kernel typesEric Andersen
2003-11-02Make the syscall locally, avoid an externEric Andersen
2003-10-25Add -msoft-float to SAFECFLAGS when necessary.Manuel Novoa III
2003-10-22Peter S. Mazinger pointed out that I missed a spot. I shouldEric Andersen
stop applying patches by hand...
2003-10-22Per suggestion and patch from Ken Staton, emulates poll usingEric Andersen
select for older 2.0 kernels where poll is missing.
2003-10-20Fix a stupid bug that caused uClibc to never provide the correctEric Andersen
fpu_control.h header file, since the correct arch specific one was always later overwritten by the generic one. oops. -Erik
2003-10-18Peter Kjellerstedt writes:Eric Andersen
ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-10-18Peter Kjellerstedt writes:Eric Andersen
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
2003-10-08Patch from Atsushi Nemoto (with some additions):Eric Andersen
Current uClibc contains only one fpu_control.h and it is i386 version. This is a patch to use platform specific fpu_control.h. All new files come from glibc 2.3.2. This patch is against 0.9.21 but also can be applied to CVS as is.
2003-09-21Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III
2003-09-17Fix fcntl64 when UCLIBC_HAS_LFS is enabled, but __NR_fcntl64Eric Andersen
is not defined.