summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
AgeCommit message (Collapse)Author
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
2001-04-05Get the full set of module creating syscalls in place.Eric Andersen
-Erik
2001-04-05Add in delete_moduleEric Andersen
-Erik
2001-03-30It seems ARM 2.4.x kernels do not have iopl. Also add missingEric Andersen
bits/sem.h for ARM so everything now compiles and runs. -Erik
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
2001-03-06Fix unified syscall stuff for changed ?stat. Move fork to syscalls.c wrappedManuel Novoa III
with a check for NO_MMU of course.
2001-03-05stat and mknod cleanup, take two. Put all the needed junk into syscalls.cEric Andersen
for clarity. -Erik
2001-03-05Fix up some long standing iterative symbol usage problem, noticed today byEric Andersen
Michael Shmulevich, which was caused by the grafting in of GNU libc header files. -Erik
2001-02-15Add bdflush.Manuel Novoa III