summaryrefslogtreecommitdiff
path: root/include/sys
AgeCommit message (Collapse)Author
2005-11-04Sync up w/ glibcPeter S. Mazinger
2005-11-03Sync headers w/ glibcPeter S. Mazinger
2005-11-03Sync with glibcPeter S. Mazinger
2005-11-03Sync headers w/ glibcPeter S. Mazinger
2005-10-04Do not stub out functions for mmu-less systems. Hide allEric Andersen
prototypes for functions disabled on mmu-less systems.
2005-07-02sync with glibc versionsMike Frysinger
2005-05-10SHMLBA is now defined by arch dependent bits/shm.h file so removeJoakim Tjernlund
this one. MIPS is the only one defining SHMLBA differently.
2005-01-06Justin Cormack <justin@street-vision.com> writes:Mike Frysinger
Here is a small patch to add epoll support to uclibc. The only thing I am not sure about is what needs to be done (if anything) to make it work on 2.4/2.2 kernels (are the syscall numbers defined but give errors when called or not?). Tested on 2.6, though some other issues prevent more extensive testing at the minute. Mike Frysinger: cleaned up patch and added checks to make sure that the syscall actually exists, returning ENOSYS in cases where it doesn't.
2004-12-20- Added support for 13 new syscalls to allow more things to compile when ↵Ned Ludd
using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
2004-10-31Revert Peter's __lib_gettimeofday patch. There's the minor issue ofManuel Novoa III
adding cruft to include/sys/time.h. But also, there's no sense in making changes like this until we decide how we're going to approach the hidden symbol transition.
2004-10-19Peter S. Mazinger writes:Eric Andersen
Hello! Would the attached patch be acceptable (maybe instead of __libc_gettimeofday using __gettimeofday) We have some issues, see http://bugs.gentoo.org/show_bug.cgi?id=65892
2004-08-21Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen
size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
2004-07-30Cleanup some dead wood in the header filesEric Andersen
2004-07-27Remove all reference to __GLIBC_HAVE_LONG_LONGEric Andersen
2004-07-26Support linux 2.6.x wide device major/minor numbersEric Andersen
2003-10-24Sigh. It seems some stupid programs expect this...Eric Andersen
2003-10-22It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen
also exported by the Linux kernel.h header that we do not include.
2003-09-26Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader
(__C_SYMBOL_PREFIX__).
2003-08-08Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen
syscalls, which had managed to stay unimplemented thus far. -Erik
2003-08-01Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III
Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
2003-03-07Patch from Stefan Allius:Eric Andersen
fix a couple of gcc 3.3 compiler warnings in gmon.c
2003-03-03Initial effort at adding profiling support.Eric Andersen
2002-11-14Implement sendfile64Eric 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-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-07-27Avoid errors in case some loon has explicitly includedEric Andersen
linux/kernel.h (even though doing so is very dumb). -Erik
2002-07-24(__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader
(__ASMNAME2): Macro removed.
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-05-02Add missing sysctl.h and queue.hEric Andersen
2002-03-25Include our own copy of struct sysinfo to avoid binary compatibilityEric Andersen
problems with Linux 2.4, which changed things. And thereby reduce by one more the kernel headers we depend on... -Erik
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
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-30Add missing sys/fsuid.hEric Andersen
2002-01-06Support statvfs and statfs. Added getmntent_r (and made it useEric Andersen
strtok_r instead of strtok), taught getmntent to use getmntent_r. -Erik
2002-01-03Enable several more syscalls.Eric Andersen
2001-11-23Add this so madplay will properly configure itself using ossEric Andersen
as a default output device. -Erik
2001-09-27Rev all the header files to sync things with glibc 2.2.4Eric Andersen
2001-09-06Patch from Andrew Ip <aip@cwlinux.com> to add ftime,Eric Andersen
allowing openssl to be built.
2001-08-27Make gdb/gcc/binutils happyEric Andersen
2001-07-11Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
2001-07-11The main part of the C++ support is the definition of __BEGIN_DECLSDavid McCullough
and __END_DECLS in this file based on the __cplusplus define.
2001-06-27Cleanup and don't require LIBC to be defined for the syscall numbers.Eric Andersen
2001-06-23This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen
all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
2001-06-17Add the in* and out* functions for i386. Note: the sys/io.h header forManuel Novoa III
glibc-2.2.2 actually defines static inline versions for i386, but only provides prototypes for externs for the other archs I looked at. Since uClibc shares this header amongst archs, I stashed the inline defs in bits/io_i386.h and included it when __i386__ was defined. Better solutions are most welcome, but it doesn't clutter sys/io.h too badly and now lilo and the pcmcia tools build against uClibc on i386 without modification.
2001-06-12Some socket cleanupsEric Andersen
2001-05-26Added definition of __THROWDavid Schleef
2001-05-26Add in message queue support, based on work from <tapu@371.net>.Eric Andersen
This is required to compile util-linux
2001-05-11Bring powerpc back into line so it compiles again.Eric Andersen
2001-05-10Fix broken resources.hEric Andersen
2001-05-09Yipe. This was still pulling in kernel headers.Eric Andersen
-Erik