respin of the v4.16 patches http://www.openwall.com/lists/musl/2018/04/28/1 without the siginfo changes and with v4.17 additions. the last patch is adding missing memory mapping related syscall wrappers, the pkey* support is incomplete. Szabolcs Nagy (16): sys/epoll.h: add EPOLLNVAL from linux v4.16 netinet/if_ether.h: add ETH_P_ERSPAN2 from linux v4.16 netinet/if_ether.h: add ETH_TLEN from linux v4.16 sys/ptrace.h: add PTRACE_SECCOMP_GET_METADATA from linux v4.16 aarch64: add HWCAP_ASIMDFHM from linux v4.16 powerpc: add pkey syscall numbers from linux v4.16 add MAP_FIXED_NOREPLACE from linux v4.17 add {MSG,SEM,SHM}_STAT_ANY from linux v4.17 add TCP_NLA_* from linux v4.17 add ETH_P_PREAUTH ethertype from linux v4.17 add speculation control prctls from linux v4.17 aarch64: add HWCAP_ flags from linux v4.17 mips: add HWCAP_ flags from linux v4.17 s390x: add kexec_file_load syscall number from linux v4.17 add si_codes from linux v4.17 Add memfd_create, mlock2 and pkey_* apis arch/aarch64/bits/hwcap.h | 5 +++++ arch/mips/bits/hwcap.h | 1 + arch/mips64/bits/hwcap.h | 1 + arch/mipsn32/bits/hwcap.h | 1 + arch/powerpc/bits/mman.h | 4 ++++ arch/powerpc/bits/syscall.h.in | 3 +++ arch/powerpc64/bits/mman.h | 4 ++++ arch/powerpc64/bits/syscall.h.in | 3 +++ arch/s390x/bits/syscall.h.in | 1 + include/netinet/if_ether.h | 3 +++ include/netinet/tcp.h | 10 ++++++++++ include/signal.h | 13 +++++++++++++ include/sys/epoll.h | 1 + include/sys/mman.h | 25 ++++++++++++++++++++++--- include/sys/msg.h | 1 + include/sys/prctl.h | 9 +++++++++ include/sys/ptrace.h | 8 +++++++- include/sys/sem.h | 1 + include/sys/shm.h | 1 + src/linux/memfd_create.c | 8 ++++++++ src/linux/mlock2.c | 11 +++++++++++ src/linux/pkey_alloc.c | 22 ++++++++++++++++++++++ src/linux/pkey_get.c | 9 +++++++++ src/linux/pkey_mprotect.c | 15 +++++++++++++++ src/linux/pkey_set.c | 9 +++++++++ 25 files changed, 165 insertions(+), 4 deletions(-) create mode 100644 src/linux/memfd_create.c create mode 100644 src/linux/mlock2.c create mode 100644 src/linux/pkey_alloc.c create mode 100644 src/linux/pkey_get.c create mode 100644 src/linux/pkey_mprotect.c create mode 100644 src/linux/pkey_set.c -- 2.16.3