summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/syscalls.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Eliminate all the pointless globals from getcwd(). DefaultEric Andersen2002-06-181-1/+7
| | | | | to using the getcwd syscall instead, when it is present. -Erik
* Add support for sigtimedwait and sigwaitinfoEric Andersen2002-06-171-0/+39
| | | | -Erik
* Doh! A silly typo broke select...Eric Andersen2002-05-301-2/+2
| | | | -Erik
* Fixup some silly bugs I added earlierEric Andersen2002-05-301-40/+37
| | | | -Erik
* Make syscalls.c way more generic. Now works on alpha...Eric Andersen2002-05-301-4/+173
| | | | -Erik
* Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen2002-05-231-4/+4
|
* Stupid libgcc.a from gcc 2.95.x uses __write in pure.oEric Andersen2002-04-251-0/+3
| | | | | which is a blatent GNU libc-ism... Cope. -Erik
* Stub out pread and pwrite when not availableEric Andersen2002-04-171-0/+16
|
* Remove from syscalls.c, leave just ftruncate64.c and truncate64.cEric Andersen2002-04-091-26/+2
| | | | | which have implementations that works... -Erik
* m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.Eric Andersen2002-04-031-1/+1
|
* Patch from Miles Bader to fix the spots I'd messed up.Eric Andersen2002-04-011-8/+13
|
* Add support for getrlimit64 and setrlimit64. Fix some problemsEric Andersen2002-03-311-2/+54
| | | | | with the getrlimit and setrlimit syscalls. -Erik
* Doh! search-n-replace bites againEric Andersen2002-03-201-5/+5
|
* s/off_t/__off_t/gEric Andersen2002-03-201-15/+15
|
* Remove sys/io.h include, since not everyone has itEric Andersen2002-03-051-2/+0
|
* Fix for some comments, from Miles BaderEric Andersen2002-03-011-4/+2
|
* Patch from Miles Bader to restrict common truncate64/ftruncate64Eric Andersen2002-02-261-17/+34
| | | | | syscalls to 64-bit systems, since we can't be sure that the _syscall macros can cope with 64 bit args on 32 bit arches.
* Enable pread/pwriteEric Andersen2002-02-261-8/+0
|
* Several naming cleanups so threads work properly againEric Andersen2002-02-231-73/+39
|
* Several mips fixes from Geoffrey Espin. With these, busybox withEric Andersen2002-02-221-5/+0
| | | | ash/vi/etc now works just fine with uClibc on mips.
* A number of naming updates in preparation for adding inEric Andersen2002-02-131-24/+48
| | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
* Fix __adjtimex symbolEric Andersen2002-02-051-0/+1
|
* Several little additions and cleanups. Add getw() and putw().Eric Andersen2002-02-021-0/+16
| | | | | | Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik
* Add in setfsuid() and setfsgid() so lpr-0.72 can compile.Eric Andersen2002-01-291-4/+24
| | | | -Erik
* Enable fcntl64, and fix fcntl when large fils is enabled.Eric Andersen2002-01-171-0/+23
|
* Enable fdatasyncEric Andersen2002-01-141-0/+7
|
* Oops. I'd accidentally enabled a #define for __NR_get_kernel_symsEric Andersen2002-01-031-1/+1
| | | | | so turn that back off -Erik.
* Enable several more syscalls.Eric Andersen2002-01-031-9/+128
|
* Fix a few things I'd missed when using old (2.0.x) kernels.Eric Andersen2002-01-021-4/+11
| | | | -Erik
* Once again, rework the signal handling to be even more correct. We noEric Andersen2002-01-021-15/+65
| | | | | | | | | longer segfault when running test/signal/sigchld.c, which exposed a bit of a rats nest. The problem ended up being a erroneous syscall defination, but in the process of finding that out, I scrubbed things up nicely and adapted things to use the rt_ signals if they are available. This now passes all the signal tests. -Erik
* Add in the missing get_kernel_syms syscallEric Andersen2001-12-291-1/+5
|
* Work around broken m68k kernel headers... Grumble.Eric Andersen2001-11-241-1/+2
|
* Add acct syscall. Fix sigsuspend which was totally broken (itEric Andersen2001-11-211-3/+13
| | | | needed a wrapper)
* Oops. Forgot this one....Eric Andersen2001-10-171-0/+7
|
* This commit makes large file support actually work (when enabled inEric Andersen2001-10-171-0/+110
| | | | | the config file). I've tested this and it works for me. -Erik
* Geez, I really screwed that one up. Lets try that one again...Eric Andersen2001-10-161-13/+1
| | | | | Revert mmap to where it was in rev 1.41 of this file, -Erik
* Revert global old mmap usage, and do it per archEric Andersen2001-10-161-2/+3
|
* Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen2001-10-111-2/+14
| | | | He sent this patch to me a month ago, but I forgot to apply it...
* Yet more minor cleanupsEric Andersen2001-10-041-6/+10
|
* Silly little changesEric Andersen2001-10-031-5/+6
|
* Update to accomodate the header file changesEric Andersen2001-09-271-16/+15
|
* Add "__write" as a weak alias for "write"Eric Andersen2001-08-281-0/+1
|
* Fixup the pipe system call for the SH target.David McCullough2001-08-061-0/+5
| | | | The FD's are returned in registers.
* Added a script to create bits/syscall.h for each arch.Manuel Novoa III2001-06-281-2/+36
| | | | | | | | | | | NOTE!!! This is run by "make -C libc/sysdeps/linux/$(TARGET_ARCH) headers" in the main Makefile, but I only changed libc/sysdeps/linux/i386/Makefile as I had no way of testing it for the other archs. Various arch maintainers, please check and update the corresponding Makefile... or report bugs ;-)... appropriately. You'll also want to "cvs del" syscall.h and add it to a .cvsignore in $(ARCH)/bits. Also added a define to uClibc_config.h, __UCLIBC_USE_UNIFIED_SYSCALL__, and moved i386 unified syscall stuff out of common and into i386/bits/syscalls.h.
* Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III2001-06-251-3/+2
| | | | the straight getdents syscall instead of the wrapper (which leaked memory).
* Enable mlock and friends if __UCLIBC_HAS_MMU__ is defined. util-linuxEric Andersen2001-05-251-0/+29
| | | | needs this to compile.
* Add in missing capset and capget syscalls. Stub out syscalls when missingEric Andersen2001-05-251-46/+98
| | | | | rather then just omitting them... -Erik
* Bring powerpc back into line so it compiles again.Eric Andersen2001-05-111-2/+2
|
* Always use __NR_<name>, not SYS_<name>Eric Andersen2001-04-231-3/+3
| | | | -Erik
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-1/+1
| | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik