summaryrefslogtreecommitdiffstats
path: root/libc/unistd
Commit message (Collapse)AuthorAgeFilesLines
* not-cancel: use *_not_cancel variants directlyAustin Foxley2009-09-211-23/+16
| | | | | | add a no threads version of not-cancel.h to fallback on Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-184-11/+0
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-1816-69/+1
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* daemon: fix up INTERNAL_SYSCALL() usageMike Frysinger2009-09-181-4/+6
| | | | | | | | | | | | Make sure we declare the error properly in case a port uses it, and fix the invocation of exit(). Since clone() will be returning a pid, assume that the value will not have the MSB set (negative) to simplify the error test a bit more. If gcc supports it, force this function to always be heavily optimized in a bid to avoid stack usage as much as possible. Signed-off-by: James Coleman <james.coleman@ubicom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* do not pass 3rd param to open() which do not create filesDenys Vlasenko2009-09-181-12/+4
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-191-0/+2
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* handle _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLNBernhard Reutner-Fischer2009-08-191-12/+12
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fix daemon build for no-MMU no-threads.Joseph Myers2009-08-191-0/+1
| | | | | | | | | | CLONE_VM (used in no-MMU daemon) is defined in <bits/sched.h>. A build with threads ends up including <sched.h> via <pthread.h> via <bits/uClibc_mutex.h>; this indirect include does not happen for a build without threads, so this patch adds a direct <sched.h> include. Signed-off-by: Joseph Myers <joseph@codesourcery.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fix whitespaceAustin Foxley2009-05-261-2/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Only use fstat64 when LFS is enabledAustin Foxley2009-05-201-1/+9
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merged revisions 26046,26062,26066,26078 via svnmerge from Khem Raj2009-04-141-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://kraj@svn.uclibc.org/svn/trunk/uClibc ........ r26046 | aldot | 2009-04-09 10:48:17 -0700 (Thu, 09 Apr 2009) | 2 lines - fix typo ........ r26062 | austinf | 2009-04-10 17:08:47 -0700 (Fri, 10 Apr 2009) | 4 lines sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldso Signed-off-by: Austin Foxley <austinf@cetoncorp.com> ........ r26066 | austinf | 2009-04-11 12:30:04 -0700 (Sat, 11 Apr 2009) | 5 lines for sparc v8 MAGIC1 was defined incorrectly Signed-off-by: Austin Foxley <austinf@cetoncorp.com> ........ r26078 | vapier | 2009-04-12 17:06:40 -0700 (Sun, 12 Apr 2009) | 1 line make sure to block all signals when calling daemon() to prevent delivery while the parent is sharing the stack ........
* Merged revisions 25971,26002 via svnmerge from Khem Raj2009-04-072-10/+26
| | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25971 | vapier | 2009-04-05 23:40:57 -0700 (Sun, 05 Apr 2009) | 1 line apply getline() fix from linux kernel ........ r26002 | vapier | 2009-04-06 22:52:48 -0700 (Mon, 06 Apr 2009) | 1 line implement daemon() using clone() on no-mmu systems as suggested by Jamie Lokier ........
* - pull r24593:24596 from trunkBernhard Reutner-Fischer2008-12-291-0/+4
|
* Synch with trunk @ 24242Carmelo Amoroso2008-12-031-25/+14
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-2714-55/+50
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-4/+4
| | | | Step 13: build system updates.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-185-7/+7
| | | | Step 10: libc_hidden_removal
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-316-14/+14
| | | | | | | 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-0915-96/+198
| | | | 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>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-204-5/+3
| | | | <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-211-21/+28
|
* Merge from trunk."Steven J. Hill"2006-08-2111-195/+146
|
* Copy from trunk."Steven J. Hill"2006-08-211-0/+58
|
* Merge from trunk."Steven J. Hill"2006-02-272-1/+12
|
* Copy from trunk."Steven J. Hill"2006-02-271-0/+33
|
* Copy from trunk."Steven J. Hill"2006-02-271-0/+58
|
* Merge from trunk."Steven J. Hill"2006-02-2522-760/+1320
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-075-10/+17
|
* Bring in sleep.c from trunk and update change sigaction.c for MIPS"Steven J. Hill"2005-12-101-2/+6
| | | | to call __memcpy, even though it produces a compiler warning.
* Merge from trunk."Steven J. Hill"2005-12-106-2/+8
|
* NPTL changes for signal handling, getpid, sleep, raise and a few things"Steven J. Hill"2005-12-081-0/+4
| | | | for new librt code. Also cleaned up the makefiles.
* Fix 'sigaction' for NPTL and other thread models."Steven J. Hill"2005-12-081-2/+0
|
* Merge from trunk."Steven J. Hill"2005-12-082-0/+5
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-068-10/+25
|
* Merge from trunk."Steven J. Hill"2005-12-0212-109/+50
|
* Massive merge from trunk."Steven J. Hill"2005-11-171-2/+4
|
* Copy from trunk."Steven J. Hill"2005-10-301-0/+51
|
* Sync with trunk."Steven J. Hill"2005-10-062-7/+4
|
* Big sync with trunk."Steven J. Hill"2005-09-242-0/+5
|
* merge parallel build supportMike Frysinger2005-01-251-4/+4
|
* Make certain that the prototype for fgets_unlocked is definedEric Andersen2004-12-221-0/+1
|
* Add ualarm.cEric Andersen2004-10-071-1/+1
|
* implement SuSv3 required ualarm()Eric Andersen2004-10-071-0/+19
|
* Cleanup a few of the more egregiously broken sysconf values toEric Andersen2004-07-151-31/+15
| | | | | | | | actually match reality. In particular, _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX were causing us problems with programs such as libglib, since they were always returning -1, which is a bit smaller than the actual passwd and group max buffer sizes. -Erik
* Sigh... Fall back to alloca() if munmap is broken (uClinux).Manuel Novoa III2004-02-171-8/+6
|
* s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/gEric Andersen2004-01-163-4/+4
|
* Oops... Seems I forgot an else...Manuel Novoa III2004-01-121-0/+1
|
* Redo the exec functions to comply with SUSv3.Manuel Novoa III2004-01-028-208/+332
|
* Make sleep behave itself properly inthe presence of SIGCHLDEric Andersen2003-12-302-11/+8
|
* oopsEric Andersen2003-12-221-1/+1
|