summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* The checking Erik added seems to be unnecessary. Without it, I am notManuel Novoa III2004-01-021-72/+5
| | | | seeing any LTP failures.
* Minor fix from upstream glibc.Manuel Novoa III2004-01-021-4/+8
|
* 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 a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-272-3/+42
| | | | | | | | | | | | | | | | 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.
* In unistd.h, getpgrp() is redirected to __getpgid(), butEric Andersen2003-12-221-1/+3
| | | | we did not have a __getpgid(). Fix that.
* If __NR_ftruncate64 isn't defined, do the best we can.Manuel Novoa III2003-11-171-5/+19
|
* Fix a build problem when using 2.2.x kernel headers.Manuel Novoa III2003-11-161-4/+4
|
* Add support for missing ntp_gettime and ntp_adjtimeEric Andersen2003-11-123-1/+34
|
* Fix for the last "fix".Manuel Novoa III2003-11-111-0/+2
|
* Protect some header inclusions.Manuel Novoa III2003-11-111-0/+2
|
* Fix up several errors related to filename length and errno thatEric Andersen2003-11-081-33/+118
| | | | | showed up while running the latest LTP testsuite. -Erik
* Add a utility macro.Manuel Novoa III2003-11-061-0/+4
|
* Remove erroneous trailing semicolon.Manuel Novoa III2003-11-051-1/+1
|
* last but certinaly not least, kill off initfini.cEric Andersen2003-11-051-172/+0
|
* Kill initfini.awkEric Andersen2003-11-051-47/+1
|
* Both setegid and seteuid were implemented suboptimally, such thatEric Andersen2003-11-022-3/+42
| | | | | we were unable to switch back to the original saved group/user ID. -Erik
* Be extra careful to check uid and gid converstions to kernel typesEric Andersen2003-11-021-17/+74
|
* Make the syscall locally, avoid an externEric Andersen2003-11-021-2/+6
|
* Add -msoft-float to SAFECFLAGS when necessary.Manuel Novoa III2003-10-251-0/+3
|
* Peter S. Mazinger pointed out that I missed a spot. I shouldEric Andersen2003-10-221-1/+3
| | | | stop applying patches by hand...
* Per suggestion and patch from Ken Staton, emulates poll usingEric Andersen2003-10-222-1/+196
| | | | select for older 2.0 kernels where poll is missing.
* Fix a stupid bug that caused uClibc to never provide the correctEric Andersen2003-10-201-1/+1
| | | | | | fpu_control.h header file, since the correct arch specific one was always later overwritten by the generic one. oops. -Erik
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-2/+1
| | | | | | | | | | 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.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-1/+1
| | | | | | | 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).
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+4
| | | | | | | | | 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.
* Patch from Atsushi Nemoto (with some additions):Eric Andersen2003-10-082-1/+43
| | | | | | | 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.
* Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III2003-09-211-1/+1
|
* Fix fcntl64 when UCLIBC_HAS_LFS is enabled, but __NR_fcntl64Eric Andersen2003-09-171-4/+4
| | | | is not defined.
* This should enabled building of uClibc locale support when using uClibc itself.Manuel Novoa III2003-09-161-4/+7
| | | | | | | | | | | | | | | | Sorry I didn't test this before the release. Please remember that the locale data generation tools are not very robust, so doing something like disabling 8-bit codeset support is likely to break things. As it stands, UTF-8 support is required, but I'm not sure I test for that. Also, you will notice a difference in the locale data generated by uClibc verses glibc. That's because the bg_BG locale specifies use of grouping in LC_NUMERIC, but supplies no grouping char. The uClibc locale code tests for and works around this (at the moment) by disabling grouping. But the result is slightly different data which ripples throughout the rest of the tables.
* Make sure that __syscall_fcntl is extern when LFSEric Andersen2003-09-091-0/+2
| | | | is disabled
* Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III2003-09-082-107/+333
| | | | | | static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
* Use __libc_fork for the uClinux fork stubEric Andersen2003-09-081-2/+2
|
* mjn3 pointed out that my brain was not in gear....Eric Andersen2003-09-081-4/+5
|
* A few minor syscall cleanupsEric Andersen2003-09-071-47/+62
|
* Remove profil.c, since it is constained within gmon.c.Manuel Novoa III2003-09-072-114/+1
|
* Fix some more problems found by the ltpEric Andersen2003-09-071-6/+9
|
* Add an implementation of profil(), based on the version fromEric Andersen2003-09-062-1/+114
| | | | glibc, with several changes for use in uClibc.
* Fix numerous problems with both getcwd implementations.Eric Andersen2003-09-061-66/+63
| | | | -Erik
* Create a typedef for the ctype bitmask table entries.Manuel Novoa III2003-08-282-1/+16
| | | | | | | | | Hack a fix for ctype support of 8-bit codeset locales. Note: toupper/tolower mappings do not handle the special cases for the tr_TR and az_AZ locales, since the wide versions currently handle them either. That will be addressed when I rewrite the data generation tools and the libc locale code.
* Added cris to "define list".Tobias Anderberg2003-08-271-1/+1
|
* Fix a few bugs in the new extended locale functions.Manuel Novoa III2003-08-241-4/+7
| | | | | | | | | Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot.
* Don't use linux/sysctl.h and instead locally define struct __sysctl_args.Eric Andersen2003-08-221-1/+9
|
* Add missing semicolonsEric Andersen2003-08-211-2/+2
|
* Correct included header for ustat.Manuel Novoa III2003-08-201-1/+1
|
* Use the common version for bits/sem.h. Fixup the types toEric Andersen2003-08-141-2/+2
| | | | match the kernel type exactly.
* Patch from Paul Mundt adding uClibc sh64 support:Eric Andersen2003-08-131-1/+1
| | | | | | | | | | | | | | | | Here's a patch that implements the beginnings of a rudimentary sh64 port. So far, this only works static, as I haven't done any of the ldso work yet. I've also not touched the libpthread stuff yet either, so that's also disabled for now. This port was based off of some work that Sean McGoogan at SuperH did for his initial port, but the this patch doesn't carry over too much from there (basically the libc/sysdeps/linux/sh64/Makefile (or rather, parts of it), the setjmp/longjmp stuff (which I had to rewrite portions of it to work with the new toolchains), etc.). However, for static, everything appears to work correcly, at least in a hello world type application.
* Add support for the ulimit syscallEric Andersen2003-08-101-0/+81
|
* Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen2003-08-083-6/+38
| | | | | syscalls, which had managed to stay unimplemented thus far. -Erik
* Patch from David Wuertele to prevent "conflicts with new declaration with CEric Andersen2003-08-051-0/+4
| | | | linkage" problems with C++