summaryrefslogtreecommitdiffstats
path: root/include/sys
Commit message (Collapse)AuthorAgeFilesLines
* futimens: add functionBernhard Reutner-Fischer2009-11-221-0/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* msgrcv is of type ssize_tAustin Foxley2009-11-221-3/+7
| | | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Conflicts: libc/misc/sysvipc/msgq.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sync some headers and disable unused prototypesPeter S. Mazinger2009-11-228-18/+37
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* no need for bits/syscalls.h on targetPeter S. Mazinger2009-11-221-5/+5
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sys/mount.h: sync with latest glibcMike Frysinger2009-09-181-1/+5
| | | | | | | Newer glibc adds a few more MNT_* flags, so import them. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* first pass at implementing *at funcsMike Frysinger2009-08-192-8/+28
| | | | | | | | Tested basic functionality with coreutils and things seem to work. At least gives us a basis to jump from. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sync a few headers with glibc (no functional changes)Mike Frysinger2009-08-191-4/+5
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-0/+1
| | | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-221-1/+1
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-294-12/+12
|
* Merged from trunk.Khem Raj2008-12-221-8/+0
|
* Synch with trunk @ 24157Carmelo Amoroso2008-11-2615-2/+50
| | | | Step 11: More libc_hidden_proto removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-173-1/+90
| | | | Step 8: include folder
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-312-6/+6
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-099-408/+573
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-212-4/+22
|
* Merge from trunk."Steven J. Hill"2006-08-212-55/+371
|
* Merge from trunk."Steven J. Hill"2006-08-212-14/+34
|
* Copy from trunk."Steven J. Hill"2006-08-211-0/+1
|
* Merge from trunk."Steven J. Hill"2006-06-184-13/+64
|
* Merge from trunk."Steven J. Hill"2006-02-257-148/+9
|
* Merge from trunk."Steven J. Hill"2006-01-064-19/+70
|
* Remove extraneous file."Steven J. Hill"2006-01-051-1/+0
|
* Merge from trunk. More to come you betcha'."Steven J. Hill"2005-12-021-8/+8
|
* Mini-merge from trunk. Not as fun as a Mini Cooper, but oh well."Steven J. Hill"2005-12-012-10/+29
|
* Sync up with trunk."Steven J. Hill"2005-11-191-4/+1
|
* Merge from trunk."Steven J. Hill"2005-11-1716-135/+255
|
* Sync with trunk."Steven J. Hill"2005-10-061-0/+2
|
* Finalize the merge from the trunk. There are more files to be"Steven J. Hill"2005-07-302-20/+78
| | | | merged, but they will be done manually.
* SHMLBA is now defined by arch dependent bits/shm.h file so removeJoakim Tjernlund2005-05-101-5/+0
| | | | this one. MIPS is the only one defining SHMLBA differently.
* Justin Cormack <justin@street-vision.com> writes:Mike Frysinger2005-01-061-0/+107
| | | | | | | | | | | | | | | 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.
* - Added support for 13 new syscalls to allow more things to compile when ↵Ned Ludd2004-12-201-0/+104
| | | | using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
* Revert Peter's __lib_gettimeofday patch. There's the minor issue ofManuel Novoa III2004-10-311-5/+0
| | | | | | 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.
* Peter S. Mazinger writes:Eric Andersen2004-10-191-0/+5
| | | | | | | | | | | 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
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-212-281/+0
| | | | | | | | 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
* Cleanup some dead wood in the header filesEric Andersen2004-07-301-6/+6
|
* Remove all reference to __GLIBC_HAVE_LONG_LONGEric Andersen2004-07-271-7/+5
|
* Support linux 2.6.x wide device major/minor numbersEric Andersen2004-07-261-24/+44
|
* Sigh. It seems some stupid programs expect this...Eric Andersen2003-10-241-0/+1
|
* It seems we need to also define SI_LOAD_SHIFT since that wasEric Andersen2003-10-221-0/+1
| | | | also exported by the Linux kernel.h header that we do not include.
* Revert to using uClibc-specific c-symbol-prefix stuffMiles Bader2003-09-261-2/+1
| | | | (__C_SYMBOL_PREFIX__).
* Add support for personality(), prctl(), ustat(), and ulimit()Eric Andersen2003-08-084-2/+145
| | | | | syscalls, which had managed to stay unimplemented thus far. -Erik
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-2/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Patch from Stefan Allius:Eric Andersen2003-03-071-1/+1
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* Initial effort at adding profiling support.Eric Andersen2003-03-032-0/+281
|
* Implement sendfile64Eric Andersen2002-11-141-8/+23
| | | | -Erik
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-1/+1
| | | | | | | | | | | | | | | 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
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-191-114/+0
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Avoid errors in case some loon has explicitly includedEric Andersen2002-07-271-0/+2
| | | | | linux/kernel.h (even though doing so is very dumb). -Erik
* (__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader2002-07-241-3/+2
| | | | (__ASMNAME2): Macro removed.