summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
AgeCommit message (Collapse)Author
2002-11-15Cleanup a few structural wierdnessesEric Andersen
2002-11-04Oops. Fix compilation on arm.Eric Andersen
-Erik
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-09-04Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"
2002-08-28Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen
-Erik
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-07-15Rework pread and pwrite support so it should actually work.Eric Andersen
Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
2002-07-07Fix namespace pollution by hiding statfix and statfix64 byEric Andersen
prepending an __ to the name. Not perfect but better. -Erik
2002-07-07Cleanup namespace leaks by prepending __ to global stuff toEric Andersen
indicate it is (alledgedly) private. -Erik
2002-06-21Fix support for 2.0.x linux kernels. Oops.Eric Andersen
-Erik
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik
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