summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
AgeCommit message (Collapse)Author
2007-05-25Jean-Christian de Rivaz writes:Mike Frysinger
I actually suspect this code into the file uClibc/libc/sysdeps/linux/common/poll.c: tval.tv_nsec = (timeout % 1000) *1000; <==== make only usec! From milisecond this really needs a * 1000000 to make nanosecond. Without this a 1100 milisecond timeout is converted into a 1 seconde and 100 microsecond timeout! This can explain the weird result of the test code.
2007-05-15Restored indentation.Peter Kjellerstedt
2007-05-15Made it compile again.Peter Kjellerstedt
2007-05-15Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj
2007-03-18Bernd Schmidt writes: The following patch is needed for libc to be able to ↵Mike Frysinger
emulate poll with ppoll.
2007-03-08svn 17941/17943 broke the build. 18032 made the threaded case compile Rob Landley
again, this makes the non-threaded case compile again. I have no idea if this is the proper fix, I'm just tired if it not compiling for two weeks.
2007-03-06Add posix_fadvise posix_fadvise64 for arm.Khem Raj
Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
2007-03-01Should be __sigset_t instead of sigset_t.Khem Raj
2007-02-28add support for ppoll() and emulate poll() with it when __NR_poll does not existMike Frysinger
2007-02-28ifdef out RTLD defines we dont actually support nor are in POSIXMike Frysinger
2007-02-12Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund
protect its use by #ifdef INTERNAL_SYSCALL since not all arch's has INTERNAL_SYSCALL. All arch's not having INTERNAL_SYSCALL in libc/sysdeps/linux/<arch>/bits/syscalls.h should get an update from glibc.
2007-02-02Make sure struct stat is identical to struct stat64 ifPeter Kjellerstedt
__USE_FILE_OFFSET64 is defined. This was the case for all architectures except those that use packed structures by default (i.e., CRIS).
2007-01-29- s/if USE___THREAD/if defined USE___THREAD && USE___THREAD/gBernhard Reutner-Fischer
2007-01-28sync with glibc as pointed out by Bernhard FischerMike Frysinger
2007-01-28- commentary typo fixBernhard Reutner-Fischer
2007-01-28initial waitid() implementationMike Frysinger
2007-01-28need string.h for memset()Mike Frysinger
2007-01-28make sure we clear out the buffer so that random garbage on the stack doesnt ↵Mike Frysinger
screw us up
2007-01-27fix from blackfin repo: Jie Zhang writes: Passing NULL as the second ↵Mike Frysinger
argument to utimes () if the second argument to utime () is NULL as the kernel will take care of getting/setting current time
2007-01-20Disable declarations for NPTL."Steven J. Hill"
2007-01-10Fix SEGV for static builds in exit() path.Joakim Tjernlund
Leave the now obsolete libc/misc/pthread dir in for now.
2007-01-09Aurelien Jacobs writes:Joakim Tjernlund
After our last update a new compilation breakage appeared when compiling gcc: /home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden' Some investigations revealed that the following changeset is responsible for this breakage: http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h Reverting just one hunk of this changeset fixed the problem us. I'm not sure this is the right fix, but please see attached patch. Look good to me.
2006-12-14fix building when __NR_sigalstack does not existMike Frysinger
2006-12-14if __NR_lseek is not defined, then we fall back to calling the 64bit lseekMike Frysinger
2006-12-11fix building when pthread support is disabledMike Frysinger
2006-12-11dont try and compile if the MMU is disabledMike Frysinger
2006-12-11need endian.h for __LONG_LONG_PAIR() macroMike Frysinger
2006-12-11cleanup styleMike Frysinger
2006-12-09Add missing sys/types.h headerEric Andersen
2006-12-09silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen
2006-12-08seems this is the newfangled way to tell folks this stuffEric Andersen
is really really and we mean it this time, for uClibc only
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-12-08if __NR_swapon does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08if __NR_swapoff does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08if __NR_msync does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08only define mremap() if the syscall existsMike Frysinger
2006-12-08if __NR_mprotect does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08this stuff is for uClibc internal use onlyEric Andersen
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-12-08Fill in a few more of the missing pieces...Eric Andersen
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
2006-12-06stdio update from mjn3Eric Andersen
2006-12-06prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen
2006-12-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-12-02PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger
it lives in bits/uClibc_local_lim.h
2006-12-02Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"
code it is not defined.
2006-11-29remove redundant headers local to libpthread, causing headerEric Andersen
file content skew between the versions
2006-11-29- honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer
2006-11-17revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger
people out there will not need more than 1k threads (and people who do can change this themselves)
2006-11-04based on a patch from Atsushi Nemoto:Eric Andersen
There is a mismatch of struct msghdr between the kernel and libc. In a 64-bit environment, the size of msg_namelen is 4 for all, but the size of msg_iovlen and msg_controllen is 8 bytes for the kernel and for glibc, but 4 bytes for uClibc. Fix size for the 64bit case.