summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/s390
AgeCommit message (Collapse)AuthorFilesLines
2014-01-22S/390: Merge 32 and 64 bit ucontext.h.Andreas Krebbel2-98/+6
2014-01-07S/390: Make ucontext_t extendible.Andreas Krebbel14-17/+279
2014-01-07S/390: Make jmp_buf extendible.Andreas Krebbel10-6/+159
2014-01-06ptrace.h: add __ prefix to ptrace_peeksiginfo_argsMike Frysinger1-1/+1
All the other ptrace structures in this file have a __ prefix except this new one. This in turn causes build problems for most packages that try to use ptrace such as strace: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linux/x86_64 -I../../linux \ -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP \ -MF .deps/process.Tpo -c -o process.o ../../process.c In file included from ../../process.c:63:0: /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args' struct ptrace_peeksiginfo_args { ^ In file included from ../../defs.h:159:0, from ../../process.c:37: /usr/include/sys/ptrace.h:191:8: note: originally defined here struct ptrace_peeksiginfo_args ^ Since this struct was introduced in glibc-2.18, there shouldn't be any real regressions with adding the __ prefix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae90-90/+90
2013-11-26Use __glibc_reserved instead __unused.Ondřej Bílka9-28/+28
2013-08-30Fix typos.Ondřej Bílka1-1/+1
2013-08-27Clean up __libc_sa_len helper.Roland McGrath1-2/+3
2013-08-20 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):Andreas Krebbel1-1/+2
Align 32 bit compat elf_greg to 8 bytes.
2013-07-04Sync sys/ptrace with Linux 3.10Andreas Jaeger1-1/+20
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold1-1/+5
2013-06-15New API to set default thread attributesSiddhesh Poyarekar2-0/+8
This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
2013-06-05Remove trailing whitespace.Joseph Myers11-16/+16
2013-05-15Update s390/bits/siginfo.hEdjunior Machado1-3/+7
2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com> * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove si_trapno and add si_addr_lsb to _sifields.sigfault. (si_trapno): Remove macro. (si_addr_lsb): Define new macro. (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2013-04-23S/390: Change struct statfs[64] member types to unsigned valuesHeiko Carstens1-12/+12
Kay Sievers reported that coreutils' stat tool has a problem with s390's statfs[64] definition: > The definition of struct statfs::f_type needs a fix. s390 is the only > architecture in the kernel that uses an int and expects magic > constants lager than INT_MAX to fit into. > > A fix is needed to make Fedora boot on s390, it currently fails to do > so. Userspace does not want to add code to paper-over this issue. [...] > Even coreutils cannot handle it: > #define RAMFS_MAGIC 0x858458f6 > # stat -f -c%t / > ffffffff858458f6 > > #define BTRFS_SUPER_MAGIC 0x9123683E > # stat -f -c%t /mnt > ffffffff9123683e The bug is caused by an implicit sign extension within the stat tool: out_uint_x (pformat, prefix_len, statfsbuf->f_type); where the format finally will be "%lx". A similar problem can be found in the 'tail' tool. s390 is the only architecture which has an int type f_type member in struct statfs[64]. Other architectures have either unsigned ints or long values, so that the problem doesn't occur there. Therefore change the type of the f_type member to unsigned int, so that we get zero extension instead sign extension when assignment to a long value happens. Reported-by: Kay Sievers <kay@vrfy.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2-0/+10
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-03-06Remove MAP_GROWSUP on s390Andreas Jaeger1-2/+0
* sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove, it's not part of Linux headers.
2013-03-06Sync with Linux 3.8Andreas Jaeger2-1/+3
2013-03-05Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.hAndreas Jaeger1-4/+2
* 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.
2013-03-05S/390: Fix rt_sigprocmask syscall invocation in get/set/swapcontext.Andreas Krebbel7-86/+100
2013-03-04Create <bits/mman-linux.h>Andreas Jaeger1-69/+1
* 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.
2013-02-18C++11 thread_local destructors supportSiddhesh Poyarekar2-0/+6
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.
2013-02-08Remove CHECK_1 and CHECK_1_NULL_OK.Joseph Myers1-2/+1
2013-02-04Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.Joseph Myers2-4/+2
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers90-96/+90
2012-11-08S/390: Add hwcap value for transactional execution.Andreas Krebbel1-0/+1
2012-10-27Remove redundant defines of __O_LARGEFILEAndreas Jaeger1-2/+0
* sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE) [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): [__WORDSIZE != 64]: Likewise. * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE) [__WORDSIZE != 64]: Do not define, take value from <bits/fcntl-linux.h>.
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2-0/+10
2012-10-24F_GETLK cleanup for <bits/fcntl.h>Andreas Jaeger1-22/+0
2012-10-22Always define __O_LARGEFILEAndreas Jaeger1-6/+4
2012-10-22Use __O_LARGEFILE instead of O_LARGEFILEAndreas Jaeger1-2/+2
2012-10-20Reorganization of bits/fcntl.h for LinuxAndreas Jaeger1-257/+9
Create a new bits/fcntl-linux.h that contains Linux generic code and a include it from the architecture specific bits/fcntl.h. Architectures done: x86, SPARC, s390
2012-10-01Get rid of unused __swblk_t type.Roland McGrath1-1/+0
2012-10-01Clean up init-first.c files.Roland McGrath1-2/+3
2012-08-21Remove __ASSUME_FADVISE64_64_SYSCALL.Joseph Myers1-25/+2
2012-08-20Remove __ASSUME_MMAP2_SYSCALL.Joseph Myers2-46/+6
2012-08-20S/390: Remove 32 bit getrlimit.c.Andreas Krebbel1-1/+0
2012-08-14Remove __ASSUME_CLONE_THREAD_FLAGS.Joseph Myers1-4/+2
2012-08-06Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == ↵Roland McGrath1-0/+3
struct dirent64.
2012-08-06Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.Roland McGrath1-0/+7
2012-07-26Merge Linux 3.5 ptrace changesAndreas Jaeger1-6/+10
(__ptrace_eventcodes): Add new value PTRACE_EVENT_SECCOMP from Linux 3.5. (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust PTRACE_O_MASK.
2012-07-26Merge _sigsys changes from Linux 3.5Andreas Jaeger1-1/+12
2012-07-25Rename __secure_getenv to secure_getenvFlorian Weimer2-0/+6
2012-07-20Move localplt baselines to sysdeps directories.Joseph Myers2-0/+14
2012-07-19S/390: Fix uc_link == NULL handling for makecontextAndreas Krebbel6-20/+89
2012-07-17Move c++-types baselines to sysdeps directories.Joseph Myers2-0/+134
2012-06-01Add default-abi definitions for powerpc, s390 and sparc.Joseph Myers2-0/+6
2012-05-31Remove use of INTDEF/INTUSE in socketAndreas Schwab1-1/+1
2012-05-30Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu1-5/+6
2012-05-29S/390: ABI baseline update.Andreas Krebbel10-18/+609