summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
AgeCommit message (Collapse)Author
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-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-24Work around broken m68k kernel headers... Grumble.Eric Andersen
2001-11-21Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and addEric Andersen
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
2001-11-21Add acct syscall. Fix sigsuspend which was totally broken (itEric Andersen
needed a wrapper)
2001-11-15Silly me. I left in a define which caused statfs64 toEric Andersen
recursively call itself.
2001-11-07Add statfs64Eric Andersen
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-12A small patch from Erwin Authried <eauth@softsys.co.at>Eric Andersen
*) changed ARM crt0.S / crt0pic.S selection -- depends on DOPIC now. *) Minor tweek to syscall definitions
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-27Silence a silly warningEric 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-09Add cmsg_nxthdr function for the cases where the headersDavid McCullough
do not so it inline.
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-27Remove obsolete files tell.c and getdents.cManuel Novoa III
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-16Move the default ptrace.c to common, but let arches override it (suchEric Andersen
as m68k which has some asm in its version). -Erik
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-11Bring powerpc back into line so it compiles again.Eric Andersen
2001-05-04This patch allows powerpc to compile again. It also checks if weEric Andersen
are compiling for an arch for which uClibc has an ld.so or not, and otherwise sets things up to use the system ld.so. -Erik
2001-04-25As pointed out by Michiel Thuys <michiel.thuys@intersil.com>, this wasEric Andersen
checking sizeof which was pure bloat and in many cases wrong. -Erik
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-19Move the dirent stuff. I suppose it is system dependant, but thenEric Andersen
it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common
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-19Remove redundant old isatty.c since newer termios supplies one.Manuel Novoa III
2001-02-19Revert to standard handling of _exit syscall in unified syscall case on i386.Manuel Novoa III
2001-02-15Add bdflush.Manuel Novoa III
2001-02-09Add #define to handle new ptrace support.Manuel Novoa III
2001-02-09Implement getdtablesize(), which is used by the rpc crap.Eric Andersen
-Erik
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-17Hopefully fix the size/type errors when doing a shared lib.Manuel Novoa III