summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
AgeCommit message (Collapse)Author
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
2001-02-09Doh! I forgot a #ifdef such that ptrace ended up in each and everyEric Andersen
syscall .o file. -Erik
2001-02-09Include ptrace support so debugging will hopefully work.Eric Andersen
-Erik
2001-01-29uClinux 2.0 doesn't have the poll system call, just check for theDavid McCullough
definition before using it.
2001-01-17Added #include <wait.h> for getrusage.Manuel Novoa III
2001-01-16A little update to wait* and a minor syscall cleanup.Eric Andersen
2001-01-16Makefile fixesEric Andersen
2001-01-16Facelist/cleanup for several syscalls. Added poll.Eric Andersen
2001-01-15Fix termios handling. Now synced with behavior of GNU libc.Eric Andersen
-Erik
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2001-01-02Oops. Extra #endif...Eric Andersen
2001-01-01A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen
support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
2000-12-13Handle fork and vfork on a per architecture basis...Eric Andersen
2000-11-17Add in flock (though nobody should use it...)Eric Andersen
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
2000-10-30First pass at fixing readdir by adding a getdents wrapper...Eric Andersen
2000-10-29Fix up stat so we translate from kernel stat to libc stat. Try to fixEric Andersen
up a few little things with dir entry reading. busybox now compiles, and seems to basically work... :-) -Erik
2000-10-27More random fixes and additions.Eric Andersen
2000-10-26Add in a fork test. Fix select so it works.Eric Andersen
2000-10-25Move syscalls to sysdeps/linux/common (since they are common).Eric Andersen
Remove _start.S since I now have a portable C version.