summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* touchup defines so that we can use same ssp.c in both glibc and uclibcMike Frysinger2005-05-271-16/+28
|
* - keep gcc-4.x happyNed Ludd2005-05-272-1/+6
|
* style updatesMike Frysinger2005-05-271-9/+9
|
* Finish up reverting NPTLEric Andersen2005-05-203-6/+382
|
* Get rid of crud."Steven J. Hill"2005-05-151-234/+0
|
* There were two versions of 'pthreadtypes.h' originally in uClibc. Also,"Steven J. Hill"2005-05-141-142/+0
| | | | | | since we are going to support the two implementations of pthreads, we again need to instead create symbolic links to use the proper version of the file depending on the pthreads option chosen.
* Sync uClibc 'sigthread.h' with the latest version from glibc."Steven J. Hill"2005-05-141-6/+6
|
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-121-0/+43
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* Hopefully fix the problem reported by Peter Mazinger,Joakim Tjernlund2005-05-071-32/+41
| | | | | | | see http://uclibc.org/lists/uclibc/2005-May/011667.html for details. Not tested by me but I am sure Peter will :) The toolchain needs to be rebuilt.
* Added support for clock_getres() and clock_settime() in addition toPeter Kjellerstedt2005-04-283-0/+155
| | | | | | | the already existing clock_gettime(). In addition they will now use the corresponding system calls if they exists, which resulted in a move to libc/sysdeps/linux/common for clock_gettime.c (it was previously located in libc/misc/time).
* Updated to match glibc 2.3.4 (adds missing CLOCK_MONOTONIC).Peter Kjellerstedt2005-04-281-4/+6
|
* The list of source files was just too much. Especially trying to keepPeter Kjellerstedt2005-04-281-42/+8
| | | | | it alphabetized (which was not fully successful) made adding a new file a mess. Replaced it with a call to the make function $(wildcard).
* Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund2005-04-242-28/+29
| | | | syscalls. This won't work on 2.2 kernels(I think).
* - added externs to keep gcc quiet about implicit declaration of 3 functionsNed Ludd2005-03-121-0/+5
|
* doh! We'll get this one right yet...Eric Andersen2005-02-251-2/+2
|
* Some uClinux architectures do not define pivot_rootEric Andersen2005-02-181-1/+10
|
* When I broke up the stdio code, the "support pre C99 compilers" va_copy compatManuel Novoa III2005-02-141-0/+27
| | | | | | | | | define was no longer visible to vasprintf. I didn't catch this since I no longer use such old tools. Unfortunately, some well-meaning but misguided individual decided to just cut-and-paste the macro. :-( Try to clean up the situation by putting it into a header that can be overriden by any archs that need to. If this breaks for anyone (as I said, I no longer use such old tools and so haven't tested), let me know and I'll fix it.
* Fix some issues with nice(). SUSv3 specifies that it return the newManuel Novoa III2005-02-141-16/+52
| | | | | | | priority if successful, while the linux syscall returns 0. Also, in the non-syscall version, we must be sure to set errno to EPERM on failure since setpriority() can set errno to several possible values. Note: The version of glibc on my debian system is broken wrt EPERM too.
* x86_64 fixes: make sure the fall back routine for using umount2() for ↵Mike Frysinger2005-02-131-2/+7
| | | | umount() actually works :)
* x86_64 fixes: update prototype to match the other prototypesMike Frysinger2005-02-131-1/+1
|
* no more cvsMike Frysinger2005-02-122-5/+0
|
* - 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert ConnollyNed Ludd2005-02-081-10/+9
|
* - 1/NN patches for sspNed Ludd2005-02-081-6/+7
|
* merge parallel build supportMike Frysinger2005-01-251-5/+5
|
* When there is no umount syscall, but umount2 is available, thenEric Andersen2005-01-231-0/+7
| | | | try to emulate umount() using umount2()
* Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,Peter Kjellerstedt2005-01-192-15/+26
| | | | but neither __NR_fadvise64 nor __NR_fadvise64_64.
* add posix_fadvise / posix_fadvise64 supportMike Frysinger2005-01-173-8/+99
|
* whitespace cleanupEric Andersen2005-01-161-4/+4
|
* Per http://bugs.uclibc.org/view.php?id=12:Eric Andersen2005-01-161-0/+10
| | | | Some newer archs only have umount2
* - 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