summaryrefslogtreecommitdiffstats
path: root/libc/unistd
Commit message (Collapse)AuthorAgeFilesLines
...
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-272-4/+0
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-236-12/+12
|
* - improve UCLIBC_LINUX_SPECIFICBernhard Reutner-Fischer2008-07-141-2/+2
| | | | | compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function)
* - fix build errorBernhard Reutner-Fischer2008-06-161-1/+1
| | | | brk.c:(.text.__GI_sysconf+0xd4): undefined reference to `clock_getres'
* Include sys/syscall.h since we are checking for __NR_clock_getres.Peter Kjellerstedt2008-06-121-0/+1
|
* Revert revision 19345 plus libc_hidden_proto for __uc_malloc.Bernd Schmidt2008-06-121-7/+2
|
* shrink getopt a bit by using smallints. Run tested (busybox testsuite)Denis Vlasenko2008-06-061-16/+18
| | | | | | | text data bss dec hex filename - 2403 12 40 2455 997 libc/unistd/getopt.o + 2388 12 28 2428 97c libc/unistd/getopt.o
* Revert revision 22027 which totally broke getopt.Bernd Schmidt2008-06-052-18/+20
|
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-034-5/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* add missing includes of unistd.h for smallint usageDenis Vlasenko2008-06-011-1/+0
| | | | | remove a few duplicate includes of unistd.h
* - Avoid warning about undefined preprocessor token. No obj-code changes.Bernhard Reutner-Fischer2008-05-301-1/+1
|
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-201-7/+2
|
* getopt: do not needlessly use static structure.Denis Vlasenko2008-05-202-20/+18
| | | | | | | | | Reorder structure members and change some of them into smallints to reduce bss and text: text data bss dec hex filename - 2403 12 40 2455 997 libc/unistd/getopt.o + 2252 12 0 2264 8d8 libc/unistd/getopt.o
* - remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer2008-05-201-3/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-198-19/+19
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* add hidden_proto's for __uc_mallocDenis Vlasenko2008-02-121-0/+1
| | | | | (patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
* give execlp() its own cache on no-mmu to avoid recursive cache fightingMike Frysinger2008-01-231-37/+57
|
* fix memory corruption on no-mmu from doing multiple execls where earlier ↵Mike Frysinger2008-01-081-10/+3
| | | | execls fail by simply not releasing the memory reserved for the arguments of children processes
* plug a memory leak when using execl* functions on no-mmuMike Frysinger2007-12-221-9/+17
|
* add hidden defs for execv/execlp for completenessMike Frysinger2007-12-221-0/+4
|
* make utent.c, getpass.c use __uc_mallocDenis Vlasenko2007-07-301-2/+6
|
* execXp should go to next PATH dir on any error except ENOEXEC,Denis Vlasenko2007-07-181-3/+3
| | | | | | not just on ENOENT (in particular, on EPERM). At least glibc does so. Fixing this.
* Daniel Jacobowitz: sleep()/usleep() relies on nanosleep() being a cancellationMike Frysinger2007-05-022-2/+2
| | | | | | point but the files have "libc_hidden_proto(nanosleep)" which means it always calls the libc.so version, never the wrapped version in libpthread.so that's a cancellation point.
* Patch by Ricard Wanderlof <ricardw at axis dot com>:Peter Kjellerstedt2007-04-131-4/+2
| | | | | | * Add configurable buffer sizes for getpwnam() and getgrnam(). The default buffer size is, as before, 256 (glibc seems to use 1024 by default).
* Recognize _SC_MONOTONIC_CLOCK in sysconf() even if __NR_clock_getresPeter Kjellerstedt2007-01-221-2/+2
| | | | is not defined.
* - repair misplaced #endif that got introduced in r17410. Fixes compilation.Bernhard Reutner-Fischer2007-01-211-1/+1
|
* The case for _SC_MONOTONIC_CLOCK should only exist if 'clock_getres' does."Steven J. Hill"2007-01-201-0/+2
|
* Added support for sysconf(_SC_MONOTONIC_CLOCK).Peter Kjellerstedt2006-09-221-0/+7
|
* replace my @debian.org addr with @uclibc.org. Fixup license onEric Andersen2006-07-051-1/+1
| | | | readelf and ldd to again state that they are GPLv2
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-5/+2
| | | | I had clearly run search/replace on that were cluttering things up.
* sync with glibcMike Frysinger2006-07-052-19/+20
|
* update licenseMike Frysinger2006-07-053-40/+4
|
* Make execle() and chown() available again (corrects commit 15179).Peter Kjellerstedt2006-05-301-0/+1
|
* Amir Shalem writes:Mike Frysinger2006-05-261-0/+1
| | | | | | | | | | | | there are missing prototypes for chown() and execle() in uClibc-snapshot. I'm attaching a patch to add the missing prototypes. the error I'm getting without the patch: AR cr libc/libc_so.a LD libuClibc-0.9.28.so libc/libc_so.a(grantpt.os): In function `__unix_grantpt': grantpt.c:(.text+0x108): undefined reference to `__GI_chown' grantpt.c:(.text+0x1ae): undefined reference to `__GI_execle'
* Correct typoPeter S. Mazinger2006-03-231-1/+1
|
* Mark some functions as BSD onlyPeter S. Mazinger2006-03-233-0/+9
|
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-1/+1
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-1/+2
| | | | _ISOC99/XOPEN_SOURCE
* stderr does not have hidden version anymore, disable it's usePeter S. Mazinger2006-03-211-1/+0
|
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-103-4/+0
| | | | most of global data relocations are back
* Rename getopt_long-susv3 to -simplePeter S. Mazinger2006-03-032-2/+2
|
* Upstream updatePeter S. Mazinger2006-03-031-2/+2
|
* Add Rich Felker's getopt_long to be used in conjunction w/ the SuSv3 getoptPeter S. Mazinger2006-02-272-1/+62
|
* Add Rich Felker's getsubopt, smaller then the glibc copied onePeter S. Mazinger2006-02-272-0/+39
|
* Add hidden version for susv3 getoptPeter S. Mazinger2006-02-271-0/+2
|
* tweak the idea between having a MMU and actually using itMike Frysinger2006-02-182-2/+2
|
* Take getopt from glibc, disable -W foo support as in the earlier version, ↵Peter S. Mazinger2006-02-172-495/+1014
| | | | size shrink 5%, hope it solves option parsing w/ busybox tar
* Remove hidden_data_def for opt*Peter S. Mazinger2006-02-172-16/+0
|
* Sync w/ glibc, no size changePeter S. Mazinger2006-02-171-4/+5
|
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-38/+17
| | | | libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore