summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* michael_d writes in [#2064]: fix building on linux-2.0 systemsMike Frysinger2008-03-214-6/+21
|
* posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by ↵Mike Frysinger2008-02-161-1/+1
| | | | skinkie in #2194
* fix typo pointed out by skinkie in #2194Mike Frysinger2008-02-161-1/+1
|
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-3/+0
| | | | | | | | | | | | | a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-1/+1
| | | | doing double negatives
* this code does not actually rely on INTERNAL_SYSCALLMike Frysinger2008-01-051-3/+1
|
* if an arch does not provide __NR_mmap, fall back to __NR_mmap2 (this just ↵Mike Frysinger2008-01-051-0/+29
| | | | generalizes what Blackfin was already doing)
* add BOTHER define from termios2Mike Frysinger2008-01-051-0/+1
|
* implement semtimedop for #927Mike Frysinger2008-01-051-17/+0
|
* michael_d in #1849 writes: The getcwd() implementation in the absence of a ↵Mike Frysinger2008-01-051-1/+1
| | | | getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end.
* Poll with zero timeoutJoakim Tjernlund2007-10-231-0/+4
| | | | | | | | | | Jean-Christian de Rivaz writes: The attached patch solve an issue I faced while using the libdbus-glib waiting for a D-Bus message or the end of a glib timer at the same time. This specific case of use generate a poll call with a zero timeout. On platformes with the glibc a zero timeout poll return immetiately even if there is no file descriptor event. But on platformes with uClibc a zero timeout poll block until a file descriptor event occurs.
* if __NR__newselect and __NR_select are unavailable, fall back to __NR_pselect6Mike Frysinger2007-09-151-0/+24
|
* include/sys/mman.h says that msync exists only on MMU.Denis Vlasenko2007-07-181-0/+4
| | | | | Make msync.c agree on this.
* Enable all of the remaining baud rates. All of the other architectures have ↵"Steven J. Hill"2007-07-181-4/+0
| | | | them enabled, so let's go all the way. There was a quick discussion on IRC about making the max baud rate configurable. That requires a bunch of #ifdef salting throughout all of the 'termios.h' files for the pre-processor to chew on. I'm going to pass on that for now.
* 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
|