summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
AgeCommit message (Collapse)Author
2005-04-28Updated to match glibc 2.3.4 (adds missing CLOCK_MONOTONIC).Peter Kjellerstedt
2005-04-28The list of source files was just too much. Especially trying to keepPeter Kjellerstedt
it alphabetized (which was not fully successful) made adding a new file a mess. Replaced it with a call to the make function $(wildcard).
2005-04-24Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund
syscalls. This won't work on 2.2 kernels(I think).
2005-03-12- added externs to keep gcc quiet about implicit declaration of 3 functionsNed Ludd
2005-02-25doh! We'll get this one right yet...Eric Andersen
2005-02-18Some uClinux architectures do not define pivot_rootEric Andersen
2005-02-14When I broke up the stdio code, the "support pre C99 compilers" va_copy compatManuel Novoa III
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.
2005-02-14Fix some issues with nice(). SUSv3 specifies that it return the newManuel Novoa III
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.
2005-02-13x86_64 fixes: make sure the fall back routine for using umount2() for ↵Mike Frysinger
umount() actually works :)
2005-02-13x86_64 fixes: update prototype to match the other prototypesMike Frysinger
2005-02-12no more cvsMike Frysinger
2005-02-08- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert ConnollyNed Ludd
2005-02-08- 1/NN patches for sspNed Ludd
2005-01-25merge parallel build supportMike Frysinger
2005-01-23When there is no umount syscall, but umount2 is available, thenEric Andersen
try to emulate umount() using umount2()
2005-01-19Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,Peter Kjellerstedt
but neither __NR_fadvise64 nor __NR_fadvise64_64.
2005-01-17add posix_fadvise / posix_fadvise64 supportMike Frysinger
2005-01-16whitespace cleanupEric Andersen
2005-01-16Per http://bugs.uclibc.org/view.php?id=12:Eric Andersen
Some newer archs only have umount2
2005-01-16- ifdef bdflush update from bug #0000011Ned Ludd
2005-01-16- ifdef uselib update from bug #0000013Ned Ludd
2005-01-11dont bother including sysctl.h unless we need itMike Frysinger
2005-01-06Justin Cormack <justin@street-vision.com> writes:Mike Frysinger
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.
2005-01-05fix eriks e-mail addressMike Frysinger
2004-12-22Patch from Peter S. Mazinger:Eric Andersen
rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
2004-12-22Patch from psm, vapier, and solar, adding xattr syscallsEric Andersen
2004-12-20- Added support for 13 new syscalls to allow more things to compile when ↵Ned Ludd
using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
2004-12-16On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote:Eric Andersen
> 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?
2004-12-08Kill off ancient unused cruftEric Andersen
2004-11-25update : $Ned Ludd
2004-11-11misc cleanups of __stack_smash_handler() function when ssp support is ↵Ned Ludd
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.
2004-11-11misc cleanups of __stack_smash_handler() function when ssp support is ↵Ned Ludd
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.
2004-11-02struct ipc_perm, as used by shmctl() when soing shared memory stuff,Eric Andersen
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
2004-10-31Revert Peter's __lib_gettimeofday patch. There's the minor issue ofManuel Novoa III
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.
2004-10-19Peter S. Mazinger writes:Eric Andersen
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
2004-08-22Make the stub profiling stuff workEric Andersen
2004-08-21Attempt to support 'gcc -finstrument-functions', which seems muchEric Andersen
more sane than 'gcc -pg' and seems much easier to support. -Erik
2004-08-21Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen
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
2004-08-20Enable only for architectures where __NR_madvise is definedEric Andersen
-Erik
2004-08-16The variable used to store pagesize is not the same as theEric Andersen
_dl_pagesize variable in ldso, so avoid aliasing. -Erik
2004-08-13Fixup PAGE_SIZE problemsEric Andersen
-Erik
2004-07-30Cleanup some dead wood in the header filesEric Andersen
2004-07-30s/___brk_addr/__curbrk/gEric Andersen
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
2004-07-27Be certain to include sys/sysmacros.h when major() and minor()Eric Andersen
are being used
2004-07-21Fix ftruncate64 and truncate64 for powerpc and mipsEric Andersen
-Erik
2004-05-15Cope when the __NR_get_kernel_syms is undefined (i.e. 2.6.x arm-linux)Eric Andersen
2004-05-13Add define for SHM_HUGETLBEric Andersen
2004-05-11make certain that getpagesize() returns correct the value for mipsEric Andersen
by extracting the value from the ELF header.
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