Commit Graph

7 Commits

Author SHA1 Message Date
Szabolcs Nagy 3356177979 s390x: add bits/hwcap.h
aligned with linux arch/s390/include/asm/elf.h
(these macros should be exported into uapi, but they are not)
2017-08-29 21:40:35 -04:00
Szabolcs Nagy cc08669380 add SIOCGSTAMPNS socket ioctl macro to ioctl.h
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-08-29 19:48:37 -04:00
Bobby Bingham 5555041668 s390x: provide sigcontext struct definition
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-04-22 19:26:05 -04:00
Tuan M. Hoang 74bca42e16 s390x: fix fpreg_t and remove unused per_struct
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
2017-03-15 20:25:45 -04:00
Bobby Bingham 3f79eaa870 fix use of incomplete struct type in s390x user.h 2016-12-16 22:36:22 -05:00
Bobby Bingham afefce19fd fix typo in s390x user.h 2016-12-16 22:34:36 -05:00
Bobby Bingham 1509494305 add s390x port 2016-11-11 23:06:21 -05:00