summaryrefslogtreecommitdiff
path: root/arch/s390x/bits
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17add support for arch-specific ptrace command macrosSzabolcs Nagy1-0/+9
sys/ptrace.h is target specific, use bits/ptrace.h to add target specific macro definitions. these macros are kept in the generic sys/ptrace.h even though some targets don't support them: PTRACE_GETREGS PTRACE_SETREGS PTRACE_GETFPREGS PTRACE_SETFPREGS PTRACE_GETFPXREGS PTRACE_SETFPXREGS so no macro definition got removed in this patch on any target. only s390x has a numerically conflicting macro definition (PTRACE_SINGLEBLOCK). the PT_ aliases follow glibc headers, otherwise the definitions come from linux uapi headers except ones that are skipped in glibc and there is no real kernel support (s390x PTRACE_*_AREA) or need special type definitions (mips PTRACE_*_WATCH_*) or only relevant for linux 2.4 compatibility (PTRACE_OLDSETOPTIONS).
2018-06-19s390x: add kexec_file_load syscall number from linux v4.17Szabolcs Nagy1-0/+1
new in linux commit 71406883fd35794d573b3085433c41d0a3bf6c21
2018-03-10use PAGESIZE rather than PAGE_SIZE in user.h bitsRich Felker1-2/+2
align with commit c9c2cd3e6955cb1d57b8be01d4b072bf44058762.
2018-03-10reverse definition dependency between PAGESIZE and PAGE_SIZERich Felker1-1/+1
PAGESIZE is actually the version defined in POSIX base, with PAGE_SIZE being in the XSI option. use PAGESIZE as the underlying definition to facilitate making exposure of PAGE_SIZE conditional.
2018-02-22s390x: add s390_sthyi system call from v4.15Szabolcs Nagy1-0/+1
to store hypervisor information, added in linux commit 3d8757b87d7fc15a87928bc970f060bc9c6dc618
2017-11-05s390x: use generic ioctl.hSzabolcs Nagy2-196/+2
s390 can use the generic ioctls definitions other than FIOQSIZE (like arm). this fixes some missing ioctls and two incorrect ones: TIOCTTYGSTRUCT and TIOCM_MODEM_BITS seem to be defined on frv target only in linux.
2017-11-05s390x: add syscall number for s390_guarded_storage from linux v4.12Szabolcs Nagy1-0/+1
new syscall in linux commit 916cda1aa1b412d7cf2991c3af7479544942d121
2017-11-05add statx syscall numbers from linux v4.11Szabolcs Nagy1-0/+1
statx was added in linux commit a528d35e8bfcc521d7cb70aaf03e1bd296c8493f (there is no libc wrapper yet and microblaze and sh misses the number).
2017-08-29s390x: add bits/hwcap.hSzabolcs Nagy1-0/+15
aligned with linux arch/s390/include/asm/elf.h (these macros should be exported into uapi, but they are not)
2017-08-29add SIOCGSTAMPNS socket ioctl macro to ioctl.hSzabolcs Nagy1-0/+1
it is defined in linux asm/sockios.h since commit ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23 (linux v2.6.22) but was missing from musl by accident. in musl the sockios macros are exposed in sys/ioctl.h together with other ioctl requests instead of in sys/socket.h because of namespace rules. (glibc has them in sys/socket.h under _GNU_SOURCE.)
2017-04-22s390x: provide sigcontext struct definitionBobby Bingham1-0/+15
This structure was missed when creating the s390x port. This is based on the report and patch from William Pitcock, but with a modified structure defintion to more closely match the kernel's definition.
2017-03-15s390x: fix fpreg_t and remove unused per_structTuan M. Hoang1-2/+2
Including sys/procfs.h complains unknown type name 'fpreg_t' in bits/user.h. fpreg_t in bits/signal.h and elf_fpreg_t in bits/user.h are practically the same. per_struct is never used, even conflicts with kernel header asm/ptrace.h
2016-12-16fix use of incomplete struct type in s390x user.hBobby Bingham1-10/+10
2016-12-16fix typo in s390x user.hBobby Bingham1-1/+1
2016-11-11add s390x portBobby Bingham22-0/+945