summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/syscalls.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Get the full set of module creating syscalls in place.Eric Andersen2001-04-051-1/+9
| | | | -Erik
* Add in delete_moduleEric Andersen2001-04-051-12/+17
| | | | -Erik
* It seems ARM 2.4.x kernels do not have iopl. Also add missingEric Andersen2001-03-301-1/+1
| | | | | bits/sem.h for ARM so everything now compiles and runs. -Erik
* Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen2001-03-191-3/+3
| | | | | | | | 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
* Fix unified syscall stuff for changed ?stat. Move fork to syscalls.c wrappedManuel Novoa III2001-03-061-6/+7
| | | | with a check for NO_MMU of course.
* stat and mknod cleanup, take two. Put all the needed junk into syscalls.cEric Andersen2001-03-051-12/+36
| | | | | for clarity. -Erik
* Fix up some long standing iterative symbol usage problem, noticed today byEric Andersen2001-03-051-20/+21
| | | | | | Michael Shmulevich, which was caused by the grafting in of GNU libc header files. -Erik
* Add bdflush.Manuel Novoa III2001-02-151-0/+5
|
* Doh! I forgot a #ifdef such that ptrace ended up in each and everyEric Andersen2001-02-091-0/+2
| | | | | syscall .o file. -Erik
* Include ptrace support so debugging will hopefully work.Eric Andersen2001-02-091-0/+5
| | | | -Erik
* uClinux 2.0 doesn't have the poll system call, just check for theDavid McCullough2001-01-291-1/+1
| | | | definition before using it.
* Added #include <wait.h> for getrusage.Manuel Novoa III2001-01-171-0/+1
|
* A little update to wait* and a minor syscall cleanup.Eric Andersen2001-01-161-12/+2
|
* Makefile fixesEric Andersen2001-01-161-2/+4
|
* Facelist/cleanup for several syscalls. Added poll.Eric Andersen2001-01-161-80/+29
|
* Fix termios handling. Now synced with behavior of GNU libc.Eric Andersen2001-01-151-3/+3
| | | | -Erik
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-1/+31
|
* Oops. Extra #endif...Eric Andersen2001-01-021-1/+0
|
* A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen2001-01-011-0/+14
| | | | | support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
* Handle fork and vfork on a per architecture basis...Eric Andersen2000-12-131-4/+5
|
* Add in flock (though nobody should use it...)Eric Andersen2000-11-171-2/+3
|
* Fix doc blunder.Eric Andersen2000-11-041-2/+2
|
* Make spelling of uClibc be consistant.Eric Andersen2000-11-041-1/+1
|
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-041-2/+2
| | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
* First pass at fixing readdir by adding a getdents wrapper...Eric Andersen2000-10-301-4/+5
|
* Fix up stat so we translate from kernel stat to libc stat. Try to fixEric Andersen2000-10-291-497/+521
| | | | | | up a few little things with dir entry reading. busybox now compiles, and seems to basically work... :-) -Erik
* More random fixes and additions.Eric Andersen2000-10-271-1/+7
|
* Add in a fork test. Fix select so it works.Eric Andersen2000-10-261-5/+11
|
* Move syscalls to sysdeps/linux/common (since they are common).Eric Andersen2000-10-251-0/+1024
Remove _start.S since I now have a portable C version.