summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* - ifdef bdflush update from bug #0000011Ned Ludd2005-01-161-0/+9
|
* - ifdef uselib update from bug #0000013Ned Ludd2005-01-161-0/+2
|
* dont bother including sysctl.h unless we need itMike Frysinger2005-01-111-1/+3
|
* Justin Cormack <justin@street-vision.com> writes:Mike Frysinger2005-01-062-1/+66
| | | | | | | | | | | | | | | Here is a small patch to add epoll support to uclibc. The only thing I am not sure about is what needs to be done (if anything) to make it work on 2.4/2.2 kernels (are the syscall numbers defined but give errors when called or not?). Tested on 2.6, though some other issues prevent more extensive testing at the minute. Mike Frysinger: cleaned up patch and added checks to make sure that the syscall actually exists, returning ENOSYS in cases where it doesn't.
* fix eriks e-mail addressMike Frysinger2005-01-05155-155/+155
|
* Patch from Peter S. Mazinger:Eric Andersen2004-12-221-1/+1
| | | | rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
* Patch from psm, vapier, and solar, adding xattr syscallsEric Andersen2004-12-222-19/+105
|
* - Added support for 13 new syscalls to allow more things to compile when ↵Ned Ludd2004-12-203-2/+93
| | | | using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
* On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote:Eric Andersen2004-12-161-0/+1
| | | | | | | | > What's the correct way of calling llseek/_llseek? > The manpage I have indicates _llseek and thats what the version of > util-linux > I tried use as well so compiling for uClibc fails. > Would the following patch fix it or is it the apps that needs fixing?
* Kill off ancient unused cruftEric Andersen2004-12-081-68/+0
|
* update : $Ned Ludd2004-11-251-1/+1
|
* misc cleanups of __stack_smash_handler() function when ssp support is ↵Ned Ludd2004-11-111-2/+2
| | | | enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.
* misc cleanups of __stack_smash_handler() function when ssp support is ↵Ned Ludd2004-11-111-76/+100
| | | | enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.
* struct ipc_perm, as used by shmctl() when soing shared memory stuff,Eric Andersen2004-11-021-1/+1
| | | | | | | | | was incorrect in uClibc, and was 2 bytes too short. This caused uClibc shared memory stuff to not behave correctly since struct ipc_perm was included as the first member of, i.e. struct msqid_ds, so the content of that struct were all shifted by two bytes. ugh. Apparently, few people have used shared memory, msgctl(), etc with uClibc thus far, -Erik
* Revert Peter's __lib_gettimeofday patch. There's the minor issue ofManuel Novoa III2004-10-313-8/+3
| | | | | | adding cruft to include/sys/time.h. But also, there's no sense in making changes like this until we decide how we're going to approach the hidden symbol transition.
* Peter S. Mazinger writes:Eric Andersen2004-10-193-3/+8
| | | | | | | | | | | Hello! Would the attached patch be acceptable (maybe instead of __libc_gettimeofday using __gettimeofday) We have some issues, see http://bugs.gentoo.org/show_bug.cgi?id=65892
* Make the stub profiling stuff workEric Andersen2004-08-222-98/+4
|
* Attempt to support 'gcc -finstrument-functions', which seems muchEric Andersen2004-08-213-0/+120
| | | | | more sane than 'gcc -pg' and seems much easier to support. -Erik
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-215-781/+0
| | | | | | | | size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
* Enable only for architectures where __NR_madvise is definedEric Andersen2004-08-201-0/+2
| | | | -Erik
* The variable used to store pagesize is not the same as theEric Andersen2004-08-161-3/+3
| | | | | _dl_pagesize variable in ldso, so avoid aliasing. -Erik
* 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