about summary refs log tree commit diff
path: root/sysdeps/unix
Commit message (Collapse)AuthorAgeFilesLines
* Remove powerpc64 bounded-pointers code.Joseph Myers2013-03-062-14/+6
|
* Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.hAndreas Jaeger2013-03-056-29/+23
| | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include <bits/mman-linux.h>. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value is fine. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of <bits/mman-linux.h> to end of file. * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT] (MCL_CURRENT, MCL_FUTURE): Define here.
* S/390: Fix rt_sigprocmask syscall invocation in get/set/swapcontext.Andreas Krebbel2013-03-057-86/+100
|
* Create <bits/mman-linux.h>Andreas Jaeger2013-03-046-338/+104
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux common definitions. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines provided by bits/mman-linux.h and include <bits/mman-linux.h>. * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
* Fix NEED_DL_SYSINFO_DSO conditionals.Roland McGrath2013-03-011-1/+1
|
* Remove powerpc32 bounded-pointers code.Joseph Myers2013-02-282-14/+6
|
* Remove remaining bounded-pointers support from i386 .S files.Joseph Myers2013-02-216-30/+20
|
* C++11 thread_local destructors supportSiddhesh Poyarekar2013-02-1810-0/+30
| | | | | | | | | | | This feature is specifically for the C++ compiler to offload calling thread_local object destructors on thread program exit, to glibc. This is to overcome the possible complication of destructors of thread_local objects getting called after the DSO in which they're defined is unloaded by the dynamic linker. The DSO is marked as 'unloadable' if it has a constructed thread_local object and marked as 'unloadable' again when all the constructed thread_local objects defined in it are destroyed.
* FUTEX_*_REQUEUE_PI support for non-x86 codeSiddhesh Poyarekar2013-02-181-0/+5
| | | | | Add FUTEX_*_REQUEUE_PI support for the default C code and also add implementations for s-390 and ppc.
* Remove bounded-pointers handling from x86_64 assembly sources.Joseph Myers2013-02-173-9/+3
|
* Remove miscellaneous bounded-pointers relics in C code.Joseph Myers2013-02-151-9/+0
|
* Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers2013-02-141-9/+6
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-1330-83/+66
|
* Remove CHECK_N and bp-checks.h.Joseph Myers2013-02-0829-92/+44
|
* Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers2013-02-0831-152/+42
|
* Remove lots of inline keywords.Roland McGrath2013-02-071-1/+1
|
* Move nss directory into sysdeps Subdirs.Roland McGrath2013-02-051-0/+1
|
* Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers2013-02-0422-84/+35
|
* Remove BOUNDED_N and BOUNDED_1.Joseph Myers2013-02-011-2/+1
|
* Remove bp-start.h and INIT_ARGV_and_ENVIRON.Joseph Myers2013-02-011-1/+0
|
* Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers2013-01-3110-23/+11
|
* Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers2013-01-314-22/+10
|
* Remove bp-thunks code.Joseph Myers2013-01-314-133/+0
|
* ulimit: remove buggy bsd implementationPino Toscano2013-01-231-91/+0
| | | | | | | | | The bsd implementation of ulimit produces wrong return values, so remove it in favour of the posix implementation. The only regression for non-Linux implementations using bsd sysdeps and not providing an own ulimit is that the __UL_GETMAXBRK case (which is non-standard) is left unimplemented (giving EINVAL).
* ulimit: move linux implementation as posixPino Toscano2013-01-231-91/+0
| | | | | The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation.
* Make bits/wchar.h correct for all architectures (bug 15036).Joseph Myers2013-01-231-32/+0
|
* PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.Anton Blanchard2013-01-184-29/+33
| | | | | | | | | | In order for the __kernel_get_tbfreq vDSO call to work the INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from assuming an integer return type (since the timebase frequency is a 64-bit value) by specifying the type of the return type as a macro parameter. The macro then specifically declares the return value as a 'register' (or implied pair) of the denoted type. The compiler is then informed that this register (or implied pair) is to be used for the return value.
* Add HAVE_MREMAP for mremap usagePino Toscano2013-01-171-0/+2
| | | | | | | | | Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap availability. Move the malloc-sysdep.h include from arena.c to malloc.c, since what is provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion of arena.c.
* scsi/sg.h: include stddef.h for size_tMike Frysinger2013-01-151-0/+2
| | | | | | | | | This header uses size_t but doesn't include stddef.h for it. So when packages happen to include this before any header that defines size_t, they get a build failure. Reviewed-by: Carlos O'Donell <codonell@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Adjust sparc for Roland's multiarch sysdep directory changes.David S. Miller2013-01-111-0/+4
| | | | | | | * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies: Move to... * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies: Here.
* Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers2013-01-111-10/+5
|
* Add MSG_FASTOPENAndreas Jaeger2013-01-111-0/+2
| | | | | | [BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7.
* Use __extension__ with long long in installed headers.Joseph Myers2013-01-103-4/+4
|
* Correct _XXX_ILP32_OFFBIG for x32H.J. Lu2013-01-101-8/+17
|
* Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab2013-01-101-1/+0
| | | | This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
* Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab2013-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: Add ieee754/ldbl-opt/wordsize-64. * sysdeps/powerpc/powerpc64/Implies: Add ieee754/dbl-64/wordsize-64.
* Define flags for fallocateAndreas Schwab2013-01-101-0/+7
|
* PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.Anton Blanchard2013-01-094-0/+36
|
* Don't check __GNUC__ together with __USE_EXTERN_INLINES.Joseph Myers2013-01-081-1/+1
|
* BZ#14985: Remove erroneous EPOLL_NONBLOCKAndreas Jaeger2013-01-083-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | [BZ# 14985] * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK): Remove. * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise. * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise. ChangeLog.mips: [BZ# 14985] * sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK): * Remove. ChangeLog.hppa: [BZ# 14985] * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK): Remove. ChangeLog.alpha: [BZ# 14985] * sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK): Remove.
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-02814-860/+814
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-0110-18/+10
|
* linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger2012-12-061-2/+11
| | | | | | | | Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64. If the former is unavailable, fallback to the latter. Reviewed-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar2012-12-061-3/+2
|
* Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers2012-12-041-1/+1
|
* clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger2012-11-291-4/+0
| | | | | | | | In commit 26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove __ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were dropped. Punt the fallback definition too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab2012-11-281-17/+1
| | | | | | This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
* Document syscall signature prefixes in sysdep/unix/make-syscalls.shCarlos O'Donell2012-11-201-2/+14
|
* Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge2012-11-205-58/+16
|
* Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.Joseph Myers2012-11-171-1/+2
|