summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Atsushi Nemoto writes:Mike Frysinger2007-05-312-4/+2
| | | | | http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html states it returns error code instead of setting errno.
* Jean-Christian de Rivaz writes:Mike Frysinger2007-05-251-1/+1
| | | | | | | | 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.
* Restored indentation.Peter Kjellerstedt2007-05-151-7/+8
|
* Made it compile again.Peter Kjellerstedt2007-05-151-1/+1
|
* Fix arm mmap when using mmap2 syscall. Fixes bug #1303Khem Raj2007-05-151-2/+7
|
* Bernd Schmidt writes: The following patch is needed for libc to be able to ↵Mike Frysinger2007-03-181-0/+3
| | | | emulate poll with ppoll.
* svn 17941/17943 broke the build. 18032 made the threaded case compile Rob Landley2007-03-081-5/+0
| | | | | | 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.
* Add posix_fadvise posix_fadvise64 for arm.Khem Raj2007-03-062-0/+33
| | | | | Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
* Should be __sigset_t instead of sigset_t.Khem Raj2007-03-011-2/+2
|
* add support for ppoll() and emulate poll() with it when __NR_poll does not existMike Frysinger2007-02-282-0/+64
|
* ifdef out RTLD defines we dont actually support nor are in POSIXMike Frysinger2007-02-281-0/+2
|
* Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund2007-02-122-0/+130
| | | | | | | | | 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.
* Make sure struct stat is identical to struct stat64 ifPeter Kjellerstedt2007-02-021-2/+4
| | | | | | __USE_FILE_OFFSET64 is defined. This was the case for all architectures except those that use packed structures by default (i.e., CRIS).
* - s/if USE___THREAD/if defined USE___THREAD && USE___THREAD/gBernhard Reutner-Fischer2007-01-291-2/+2
|
* sync with glibc as pointed out by Bernhard FischerMike Frysinger2007-01-281-3/+2
|
* - commentary typo fixBernhard Reutner-Fischer2007-01-281-1/+2
|
* initial waitid() implementationMike Frysinger2007-01-281-0/+15
|
* need string.h for memset()Mike Frysinger2007-01-281-0/+1
|
* make sure we clear out the buffer so that random garbage on the stack doesnt ↵Mike Frysinger2007-01-281-2/+6
| | | | screw us up
* fix from blackfin repo: Jie Zhang writes: Passing NULL as the second ↵Mike Frysinger2007-01-271-6/+1
| | | | argument to utimes () if the second argument to utime () is NULL as the kernel will take care of getting/setting current time
* Disable declarations for NPTL."Steven J. Hill"2007-01-201-0/+2
|
* Fix SEGV for static builds in exit() path.Joakim Tjernlund2007-01-101-1/+1
| | | | Leave the now obsolete libc/misc/pthread dir in for now.
* Aurelien Jacobs writes:Joakim Tjernlund2007-01-091-1/+1
| | | | | | | | | | | | | | | | | | 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.
* fix building when __NR_sigalstack does not existMike Frysinger2006-12-141-0/+3
|
* if __NR_lseek is not defined, then we fall back to calling the 64bit lseekMike Frysinger2006-12-141-0/+9
|
* fix building when pthread support is disabledMike Frysinger2006-12-111-1/+1
|
* dont try and compile if the MMU is disabledMike Frysinger2006-12-111-0/+4
|
* need endian.h for __LONG_LONG_PAIR() macroMike Frysinger2006-12-111-0/+1
|
* cleanup styleMike Frysinger2006-12-111-36/+36
|
* Add missing sys/types.h headerEric Andersen2006-12-096-6/+12
|
* silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen2006-12-092-6/+16
|
* seems this is the newfangled way to tell folks this stuffEric Andersen2006-12-081-1/+1
| | | | is really really and we mean it this time, for uClibc only
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-08164-164/+164
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* if __NR_swapon does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* if __NR_swapoff does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* if __NR_msync does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* only define mremap() if the syscall existsMike Frysinger2006-12-081-0/+5
|
* if __NR_mprotect does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+3
|
* this stuff is for uClibc internal use onlyEric Andersen2006-12-081-0/+2
|
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-082-2/+2
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* Fill in a few more of the missing pieces...Eric Andersen2006-12-081-0/+1
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-073-132/+172
| | | | | | | 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.
* stdio update from mjn3Eric Andersen2006-12-061-8/+40
|
* prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen2006-12-062-0/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-062-0/+3
| | | | minor include file issues
* PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger2006-12-021-2/+0
| | | | it lives in bits/uClibc_local_lim.h
* Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"2006-12-021-3/+0
| | | | code it is not defined.
* remove redundant headers local to libpthread, causing headerEric Andersen2006-11-291-2/+5
| | | | file content skew between the versions
* - honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer2006-11-291-0/+2
|
* revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger2006-11-171-2/+3
| | | | people out there will not need more than 1k threads (and people who do can change this themselves)