summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* fdatasync: handle latest alpha syscallsMike Frysinger2009-07-201-1/+1
| | | | | | | The latest alpha Linux kernel defines __NR_fdatasync like everyone else and deprecates the older __NR_osf_fdatasync, so support that setup. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* first pass at implementing *at funcsMike Frysinger2009-07-2017-0/+321
| | | | | | | 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>
* mknod: convert to INLINE_SYSCALL() to sync with glibcMike Frysinger2009-07-201-12/+6
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ppoll: switch to INLINE_SYSCALL() to match glibcMike Frysinger2009-07-201-11/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall(): create a common version based on INLINE_SYSCALL_NCS()Mike Frysinger2009-07-091-0/+12
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-092-3/+17
| | | | | | | Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop missing {INLINE,INTERNAL}_SYSCALL fallback logicMike Frysinger2009-07-088-102/+0
| | | | | | | Ports missing INLINE_SYSCALL() support need to get fixed, so drop the cruft keeping them alive since it no longer works with the unification. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: unify common syscall definesMike Frysinger2009-07-082-1/+83
| | | | | | | | | 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>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-031-0/+6
| | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* waitid: linux ABI takes 5 args, not 4Mike Frysinger2009-05-271-4/+16
| | | | | | | | The POSIX waitid() takes 4 args, but the Linux one takes 5 args, so make sure we stuff the 5th arg with a NULL. Otherwise garbage gets randomly passed up and considering this is a pointer, that's baaaad. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Mike Frysinger2009-03-161-1/+1
| | | | memory protection
* Update copyright header.Khem Raj2009-03-161-1/+1
|
* add GNU extension for select timeouts where the sub-second field is actually ↵Mike Frysinger2009-03-131-1/+20
| | | | longer than one second
* Define creat in an independent fileKhem Raj2009-03-052-5/+15
|
* mknod: widen the parameters to match kernelDenis Vlasenko2009-03-032-11/+16
| | | | | | | | | ustat: same, + remove superfluous "conversion" which does nothing at best, loses high dev bits at worst i386/bits/kernel_stat.h: update to reflect reality (wider dev_t) h8300/bits/kernel_stat.h: same arm/bits/kernel_stat.h: cosmetics to match kernel header to the letter
* Add EPOLLRDHUP constantDenis Vlasenko2009-03-021-0/+2
|
* fix breakage in x86_64 defconfigDenis Vlasenko2009-02-277-57/+13
|
* Reinstate __libc_foo's needed for linuxthreads.old.Denis Vlasenko2009-02-2515-24/+83
| | | | | Now they are only enabled if linuxthreads.old are selected.
* mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko2009-02-181-85/+87
| | | | | | | math.h: make macro machinery a bit more understandable No code changes (verified with objdump)
* test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko2009-02-171-0/+7
| | | | | *: fix everything which prevents above from building
* - repair my r25322 that ment to deal with getdomainname()'s visibilityBernhard Reutner-Fischer2009-02-131-3/+7
|
* - we may need getdomainname internallyBernhard Reutner-Fischer2009-02-131-0/+2
|
* - fix compilation of !UCLIBC_HAS_CTYPE_TABLES by merging duplicate bitsBernhard Reutner-Fischer2009-02-131-23/+0
| | | | into ctype.h
* - workaround oddity with position of function attributesBernhard Reutner-Fischer2009-02-131-1/+1
|
* fix ppoll. we forgot to pass 5th parameter to the syscallDenis Vlasenko2009-01-281-14/+17
|
* - make sure __user is defined when including kernel's sigcontext.hBernhard Reutner-Fischer2009-01-221-0/+3
|
* - remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer2009-01-211-0/+4
|
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko2009-01-211-55/+48
| | | | | | | | | | | | | | | | | | | is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR
* __global_locale must be visible to users, move it outside of #ifdef _LIBCDenis Vlasenko2009-01-181-1/+2
|
* - whitespace cleanup; no obj-code changesBernhard Reutner-Fischer2008-12-293-7/+7
|
* - expand SUSv3_LEGACYBernhard Reutner-Fischer2008-12-291-1/+2
| | | | - SUSv4_LEGACY part #1 (non-networking)
* Help unifdef to remove private parts of headersDenis Vlasenko2008-12-272-5/+12
|
* ctype: remove some trivial macros from ctype.h;Denis Vlasenko2008-12-273-96/+90
| | | | | | | | | | | | remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
* - mark capset() as linux specificBernhard Reutner-Fischer2008-12-222-2/+2
|
* - capget() is linux specific; Sync helptext with current exclude list.Bernhard Reutner-Fischer2008-12-221-1/+1
|
* - remove leftover from r13277Bernhard Reutner-Fischer2008-12-221-1/+0
|
* UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko2008-12-222-52/+48
| | | | | | | | | | | | | | | | | | | | | | equal to "include/bits/uClibc_ctype.h" __CTYPE_unclassified and other similar __CTYPE_xxxx constants are moved to separate include file, bits/uClibc_charclass.h Duplicate declaration of these constants is removed from libc/misc/wctype/_wctype.c Ugly re-inclusion trick in extra/locale/gen_wctype.c deleted Large ifdefed-out chunk in extra/locale/gen_wctype.c removed Move __CTYPE_isalnum() etc macros from uClibc_ctype.h to their single user, extra/locale/gen_wctype.c (can be simplified further) Overall, no code changes (verified with objdump)
* - fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer2008-12-221-137/+57
| | | | | | math support - add rule to create preprocessor output for float- and long double math wrapper
* remove stray comment (the identical one is just a few lines down)Denis Vlasenko2008-12-221-2/+0
|
* Remove unused macrosDenis Vlasenko2008-12-221-15/+0
|
* more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko2008-12-211-1/+1
|
* - emulate unavailable syscall getpgrp on e.g. ia64 (Stefan Assmann)Bernhard Reutner-Fischer2008-12-161-1/+13
|
* remove some duplicates in bits/signum.h. No code changes.Denis Vlasenko2008-12-151-22/+0
| | | | | | | | | | | include/signal.h | 42 +++++++++++++++++++------------- libc/sysdeps/linux/alpha/bits/signum.h | 19 -------------- libc/sysdeps/linux/common/bits/signum.h | 22 ---------------- libc/sysdeps/linux/hppa/bits/signum.h | 17 ------------ libc/sysdeps/linux/mips/bits/signum.h | 23 +---------------- libc/sysdeps/linux/sparc/bits/signum.h | 20 --------------- 6 files changed, 27 insertions(+), 116 deletions(-)
* sigaction overhaul as described in docs/sigaction.txtDenis Vlasenko2008-12-153-82/+33
| | | | | Run tested on i386.
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-131-4/+4
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* *: document __USE_EXTERN_INLINES better;Denis Vlasenko2008-12-131-0/+2
| | | | | fix uclibc build if it is forcibly enabled
* *: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko2008-12-121-1/+1
| | | | | | it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
* Move kernel-features.h header from the linuxthread directoryCarmelo Amoroso2008-12-112-0/+81
| | | | | | | | to a common one (libc/sysdeps/linux/common/bits) so that any function can access to supported kernel feature (i.e. getdents). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* create arch-generic brk() based on blackfin oneMike Frysinger2008-12-111-0/+32
|
* update ptrace.h to latest from glibcMike Frysinger2008-12-111-2/+41
|