summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
AgeCommit message (Collapse)Author
2002-06-18Eliminate all the pointless globals from getcwd(). DefaultEric Andersen
to using the getcwd syscall instead, when it is present. -Erik
2002-06-17Add support for sigtimedwait and sigwaitinfoEric Andersen
-Erik
2002-05-30Doh! A silly typo broke select...Eric Andersen
-Erik
2002-05-30Fixup some silly bugs I added earlierEric Andersen
-Erik
2002-05-30Make syscalls.c way more generic. Now works on alpha...Eric Andersen
-Erik
2002-05-23Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen
2002-04-25Stupid libgcc.a from gcc 2.95.x uses __write in pure.oEric Andersen
which is a blatent GNU libc-ism... Cope. -Erik
2002-04-17Stub out pread and pwrite when not availableEric Andersen
2002-04-09Remove from syscalls.c, leave just ftruncate64.c and truncate64.cEric Andersen
which have implementations that works... -Erik
2002-04-03m4@brecis.COM noticed a typing problem with the getuid syscall. OOps.Eric Andersen
2002-04-01Patch from Miles Bader to fix the spots I'd messed up.Eric Andersen
2002-03-31Add support for getrlimit64 and setrlimit64. Fix some problemsEric Andersen
with the getrlimit and setrlimit syscalls. -Erik
2002-03-20Doh! search-n-replace bites againEric Andersen
2002-03-20s/off_t/__off_t/gEric Andersen
2002-03-05Remove sys/io.h include, since not everyone has itEric Andersen
2002-03-01Fix for some comments, from Miles BaderEric Andersen
2002-02-26Patch from Miles Bader to restrict common truncate64/ftruncate64Eric Andersen
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.
2002-02-26Enable pread/pwriteEric Andersen
2002-02-23Several naming cleanups so threads work properly againEric Andersen
2002-02-22Several mips fixes from Geoffrey Espin. With these, busybox withEric Andersen
ash/vi/etc now works just fine with uClibc on mips.
2002-02-13A number of naming updates in preparation for adding inEric Andersen
proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
2002-02-05Fix __adjtimex symbolEric Andersen
2002-02-02Several little additions and cleanups. Add getw() and putw().Eric Andersen
Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik
2002-01-29Add in setfsuid() and setfsgid() so lpr-0.72 can compile.Eric Andersen
-Erik
2002-01-17Enable fcntl64, and fix fcntl when large fils is enabled.Eric Andersen
2002-01-14Enable fdatasyncEric Andersen
2002-01-03Oops. I'd accidentally enabled a #define for __NR_get_kernel_symsEric Andersen
so turn that back off -Erik.
2002-01-03Enable several more syscalls.Eric Andersen
2002-01-02Fix a few things I'd missed when using old (2.0.x) kernels.Eric Andersen
-Erik
2002-01-02Once again, rework the signal handling to be even more correct. We noEric Andersen
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
2001-12-29Add in the missing get_kernel_syms syscallEric Andersen
2001-11-24Work around broken m68k kernel headers... Grumble.Eric Andersen
2001-11-21Add acct syscall. Fix sigsuspend which was totally broken (itEric Andersen
needed a wrapper)
2001-10-17Oops. Forgot this one....Eric Andersen
2001-10-17This commit makes large file support actually work (when enabled inEric Andersen
the config file). I've tested this and it works for me. -Erik
2001-10-16Geez, I really screwed that one up. Lets try that one again...Eric Andersen
Revert mmap to where it was in rev 1.41 of this file, -Erik
2001-10-16Revert global old mmap usage, and do it per archEric Andersen
2001-10-11Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen
He sent this patch to me a month ago, but I forgot to apply it...
2001-10-04Yet more minor cleanupsEric Andersen
2001-10-03Silly little changesEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-08-28Add "__write" as a weak alias for "write"Eric Andersen
2001-08-06Fixup the pipe system call for the SH target.David McCullough
The FD's are returned in registers.
2001-06-28Added a script to create bits/syscall.h for each arch.Manuel Novoa III
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.
2001-06-25Remove simulated d_type support for getdents and the dirent struct, and useManuel Novoa III
the straight getdents syscall instead of the wrapper (which leaked memory).
2001-05-25Enable mlock and friends if __UCLIBC_HAS_MMU__ is defined. util-linuxEric Andersen
needs this to compile.
2001-05-25Add in missing capset and capget syscalls. Stub out syscalls when missingEric Andersen
rather then just omitting them... -Erik
2001-05-11Bring powerpc back into line so it compiles again.Eric Andersen
2001-04-23Always use __NR_<name>, not SYS_<name>Eric Andersen
-Erik
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
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