summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup PAGE_SIZE problemsEric Andersen2004-08-131-0/+28
| | | | -Erik
* Cleanup some dead wood in the header filesEric Andersen2004-07-302-1277/+0
|
* s/___brk_addr/__curbrk/gEric Andersen2004-07-301-4/+4
| | | | | | | | Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
* Be certain to include sys/sysmacros.h when major() and minor()Eric Andersen2004-07-272-0/+2
| | | | are being used
* Fix ftruncate64 and truncate64 for powerpc and mipsEric Andersen2004-07-212-10/+52
| | | | -Erik
* Cope when the __NR_get_kernel_syms is undefined (i.e. 2.6.x arm-linux)Eric Andersen2004-05-151-0/+9
|
* Add define for SHM_HUGETLBEric Andersen2004-05-131-0/+1
|
* make certain that getpagesize() returns correct the value for mipsEric Andersen2004-05-111-10/+14
| | | | by extracting the value from the ELF header.
* Patch from Yoshinori Sato <ysato@users.sourceforge.jp>.Manuel Novoa III2004-05-071-0/+4
|
* Fix a couple of issues in configurations I hadn't tested.Manuel Novoa III2004-05-071-23/+7
|
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-3/+3
|
* Fix typo.Manuel Novoa III2004-04-141-1/+1
|
* Per patch from Stefan Holst, do not try to compile theseEric Andersen2004-03-194-0/+8
| | | | syscalls if they are not supported.
* Based on a patch from Alexandre Oliva, allow uClibc to compileEric Andersen2004-03-191-0/+2
| | | | with __NR_mmap is not available (i.e. only __NR_mmap2)
* Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (whichEric Andersen2004-03-181-12/+12
| | | | | is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
* Cope gracefully with missing module syscallsEric Andersen2004-03-124-6/+21
|
* Fixup fdatasync on alpha, thanks to Alan HourihaneEric Andersen2004-02-171-0/+7
|
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-113-391/+441
| | | | | | | | 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.
* Fix bug from the syscall reorganization, detected by python's test_poll.py.Manuel Novoa III2004-02-111-3/+3
| | | | | | | 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!
* Do not include the create_module syscall if it is not presentEric Andersen2004-02-101-0/+3
|
* Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.Manuel Novoa III2004-02-051-4/+2
|
* Andrew May writes:Eric Andersen2004-01-301-1/+3
| | | | | | 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.
* Sort all the filesEric Andersen2004-01-211-45/+34
|
* Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen2004-01-21159-2369/+3097
| | | | -Erik
* Add pollEric Andersen2004-01-211-1/+1
|
* Move poll to its own file, rather than being only half in its own fileEric Andersen2004-01-212-10/+13
|
* Massive formatting cleanup, making it easier to parseEric Andersen2004-01-211-431/+503
|
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-162-10/+10
|
* Peter S. Mazinger writes:Eric Andersen2004-01-022-0/+100
| | | | | | | | | | | | | | | | | | | 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
* 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...