summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
AgeCommit message (Collapse)AuthorFilesLines
2013-02-17Remove bounded-pointers handling from x86_64 assembly sources.Joseph Myers2-7/+3
2013-02-15Remove miscellaneous bounded-pointers relics in C code.Joseph Myers1-9/+0
2013-02-14Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers1-9/+6
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers30-83/+66
2013-02-08Remove CHECK_N and bp-checks.h.Joseph Myers29-92/+44
2013-02-08Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers31-152/+42
2013-02-07Remove lots of inline keywords.Roland McGrath1-1/+1
2013-02-04Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers22-84/+35
2013-02-01Remove BOUNDED_N and BOUNDED_1.Joseph Myers1-2/+1
2013-02-01Remove bp-start.h and INIT_ARGV_and_ENVIRON.Joseph Myers1-1/+0
2013-01-31Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.Joseph Myers10-23/+11
2013-01-31Remove bp-semctl.h and CHECK_SEMCTL.Joseph Myers4-22/+10
2013-01-31Remove bp-thunks code.Joseph Myers1-4/+0
2013-01-23ulimit: move linux implementation as posixPino Toscano1-91/+0
The linux implementation of ulimit works correctly and has nothing specific to Linux, so move it as general posix implementation.
2013-01-23Make bits/wchar.h correct for all architectures (bug 15036).Joseph Myers1-32/+0
2013-01-18PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.Anton Blanchard4-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.
2013-01-17Add HAVE_MREMAP for mremap usagePino Toscano1-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.
2013-01-15scsi/sg.h: include stddef.h for size_tMike Frysinger1-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>
2013-01-11Adjust sparc for Roland's multiarch sysdep directory changes.David S. Miller1-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.
2013-01-11Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers1-10/+5
2013-01-11Add MSG_FASTOPENAndreas Jaeger1-0/+2
[BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7.
2013-01-10Use __extension__ with long long in installed headers.Joseph Myers3-4/+4
2013-01-10Correct _XXX_ILP32_OFFBIG for x32H.J. Lu1-8/+17
2013-01-10Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab1-1/+0
This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
2013-01-10Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab1-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.
2013-01-10Define flags for fallocateAndreas Schwab1-0/+7
2013-01-09PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.Anton Blanchard4-0/+36
2013-01-08Don't check __GNUC__ together with __USE_EXTERN_INLINES.Joseph Myers1-1/+1
2013-01-08BZ#14985: Remove erroneous EPOLL_NONBLOCKAndreas Jaeger3-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.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers748-792/+748
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers9-16/+9
2012-12-10PSEUDO_SUBCALL for kOpenSolaris/x86_64Igor Pashev1-27/+51
2012-12-09Update kopensolaris-gnu/i386 to new syscall mechanicsIgor Pashev1-0/+12
2012-12-06linux: posix_fadvise: support __NR_fadvise64_64Mike Frysinger1-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>
2012-12-06Syscalls on x86_64Igor Pashev1-2/+14
2012-12-06Fix "set but not used" warnings for powerpc64Siddhesh Poyarekar1-3/+2
2012-12-05Porting to amd64.Igor Pashev1-8/+8
* use %fs instead of %gs, see [1] * use -q suffix for assembler directives (amd64) * use 17 for rolq/rorq (2 * sizeof(void*) + 1), 9 - for i386, see [2] Note that part for defined NOT_IN_libc && defined IS_IN_rtld is not present for kopensolaris-gnu/i386 too. [1] http://www.akkadia.org/drepper/tls.pdf [2] http://sourceware.org/ml/libc-alpha/2012-03/msg00603.html
2012-12-05Go aheadIgor Pashev1-5/+7
2012-12-05Copied from kopensolaris-gnu/i386, but ...Igor Pashev1-0/+324
it *must* be patched. This commit is only to ease changes tracking
2012-12-04_LP64 is can be defined by compiler (GCC does it)Igor Pashev1-1/+3
2012-12-04__ID_T_TYPE is integerIgor Pashev1-1/+0
Namely, signed 32-bit integer. It is not "unsigned" in any way.
2012-12-04Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.Joseph Myers1-1/+1
2012-12-03unix/common, unix/mman have been merged into unix.Igor Pashev1-2/+0
See git log -p -- sysdeps/unix/common and git log -p -- sysdeps/unix/mman
2012-11-29clock_getcpuclockid: delete unused HAS_CPUCLOCKMike Frysinger1-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>
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab1-17/+1
This reverts commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b. The issue has been fixed in the kernel.
2012-11-20Add recvmmsg and sendmmsg to the generic glibc API.Thomas Schwinge5-58/+16
2012-11-17Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.Joseph Myers1-1/+2
2012-11-11Fix check-localplt regressions on sparc.David S. Miller1-4/+5
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include inttypes.h (__get_clockfreq_via_proc_openprom): Use __open, __read, and __close rather than their public counterparts.
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers1-3/+3
2012-11-09PowerPC: Use <bits/fcntl-linux.h>Andreas Jaeger1-258/+11
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all definitions and declarations that are provided by <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.