Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 7 Feb 2018 02:10:15 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: [PATCH 00/25] Update for linux v4.14 and v4.15

includes v4.14 patches from
http://www.openwall.com/lists/musl/2017/11/27/2
and cosmetic bits/termios.h fix from
http://www.openwall.com/lists/musl/2017/11/27/3
and a number of elf.h updates.

build tested on most targets.

last patch is aarch64 sve sigcontext stuff, which is a bit ugly to
copy into musl headers, but requiring linux asm/sigcontext.h for
that does not work as it conflicts with musl signal.h

Szabolcs Nagy (25):
  sys/socket.h: add PF_SMC from linux v4.11
  sys/socket.h: add SOL_TLS from linux v4.13
  sys/socket.h: add MSG_ZEROCOPY from linux v4.14
  sys/mman.h: add MADV_WIPEONFORK from linux v4.14
  aarch64: add HWCAP_DCPOP from linux v4.14
  signal.h: add missing SIGTRAP and SIGSYS si_codes
  net/if_arp.h: add ARPHRD_RAWIP from linux v4.14
  netinet/if_ether.h: add new ETH_P_ macros from linux v4.14
  sys/{mman,shm}.h: add {MAP,SHM}_HUGE_ macros from linux uapi
  netinet/tcp.h: add tcp_diag_md5sig struct from linux v4.14
  mips,powerpc: fix TIOCSER_TEMT in termios.h
  add MAP_SYNC and MAP_SHARED_VALIDATE from linux v4.15
  netinet/tcp.h: add TCP_* socket options from linux v4.15
  netinet/in.h: add new IPV6_FREEBIND from linux v4.15
  s390x: add s390_sthyi system call from v4.15
  powerpc: update hwcap.h for linux v4.15
  arm: add get_tls syscall from linux v4.15
  aarch64: update hwcap.h for linux v4.15
  sys/prctl.h: add new PR_SVE_* macros from linux v4.15
  elf.h: add AT_* auxval macros for cache geometry
  elf.h: add PPC64_OPT_LOCALENTRY
  elf.h: update NT_* coredump elf notes for linux v4.15
  elf.h: syncronize DF_1_ flags with binutils
  elf.h: add DT_SYMTAB_SHNDX
  aarch64: add sve_context struct and related defines from linux v4.15

 arch/aarch64/bits/hwcap.h     |  7 +++++++
 arch/aarch64/bits/signal.h    | 39 +++++++++++++++++++++++++++++++++++++++
 arch/arm/bits/syscall.h.in    |  1 +
 arch/mips/bits/mman.h         |  1 +
 arch/mips/bits/termios.h      |  2 +-
 arch/mips64/bits/mman.h       |  1 +
 arch/mips64/bits/termios.h    |  2 +-
 arch/mipsn32/bits/mman.h      |  1 +
 arch/mipsn32/bits/termios.h   |  2 +-
 arch/powerpc/bits/hwcap.h     |  3 +++
 arch/powerpc/bits/mman.h      |  1 +
 arch/powerpc/bits/termios.h   |  2 +-
 arch/powerpc64/bits/hwcap.h   |  3 +++
 arch/powerpc64/bits/mman.h    |  1 +
 arch/powerpc64/bits/termios.h |  2 +-
 arch/s390x/bits/syscall.h.in  |  1 +
 include/elf.h                 | 35 ++++++++++++++++++++++++++++++++++-
 include/net/if_arp.h          |  1 +
 include/netinet/if_ether.h    |  4 ++++
 include/netinet/in.h          |  1 +
 include/netinet/tcp.h         | 10 ++++++++++
 include/signal.h              |  3 +++
 include/sys/mman.h            | 17 +++++++++++++++++
 include/sys/prctl.h           |  6 ++++++
 include/sys/shm.h             | 13 +++++++++++++
 include/sys/socket.h          |  7 ++++++-
 26 files changed, 159 insertions(+), 7 deletions(-)

-- 
2.15.0


View attachment "0001-sys-socket.h-add-PF_SMC-from-linux-v4.11.patch" of type "text/x-diff" (1148 bytes)

View attachment "0002-sys-socket.h-add-SOL_TLS-from-linux-v4.13.patch" of type "text/x-diff" (717 bytes)

View attachment "0003-sys-socket.h-add-MSG_ZEROCOPY-from-linux-v4.14.patch" of type "text/x-diff" (1143 bytes)

View attachment "0004-sys-mman.h-add-MADV_WIPEONFORK-from-linux-v4.14.patch" of type "text/x-diff" (807 bytes)

View attachment "0005-aarch64-add-HWCAP_DCPOP-from-linux-v4.14.patch" of type "text/x-diff" (725 bytes)

View attachment "0006-signal.h-add-missing-SIGTRAP-and-SIGSYS-si_codes.patch" of type "text/x-diff" (1043 bytes)

View attachment "0007-net-if_arp.h-add-ARPHRD_RAWIP-from-linux-v4.14.patch" of type "text/x-diff" (697 bytes)

View attachment "0008-netinet-if_ether.h-add-new-ETH_P_-macros-from-linux-.patch" of type "text/x-diff" (1507 bytes)

View attachment "0009-sys-mman-shm-.h-add-MAP-SHM-_HUGE_-macros-from-linux.patch" of type "text/x-diff" (2237 bytes)

View attachment "0010-netinet-tcp.h-add-tcp_diag_md5sig-struct-from-linux-.patch" of type "text/x-diff" (889 bytes)

View attachment "0011-mips-powerpc-fix-TIOCSER_TEMT-in-termios.h.patch" of type "text/x-diff" (2216 bytes)

View attachment "0012-add-MAP_SYNC-and-MAP_SHARED_VALIDATE-from-linux-v4.1.patch" of type "text/x-diff" (3003 bytes)

View attachment "0013-netinet-tcp.h-add-TCP_-socket-options-from-linux-v4..patch" of type "text/x-diff" (828 bytes)

View attachment "0014-netinet-in.h-add-new-IPV6_FREEBIND-from-linux-v4.15.patch" of type "text/x-diff" (840 bytes)

View attachment "0015-s390x-add-s390_sthyi-system-call-from-v4.15.patch" of type "text/x-diff" (773 bytes)

View attachment "0016-powerpc-update-hwcap.h-for-linux-v4.15.patch" of type "text/x-diff" (1419 bytes)

View attachment "0017-arm-add-get_tls-syscall-from-linux-v4.15.patch" of type "text/x-diff" (732 bytes)

View attachment "0018-aarch64-update-hwcap.h-for-linux-v4.15.patch" of type "text/x-diff" (953 bytes)

View attachment "0019-sys-prctl.h-add-new-PR_SVE_-macros-from-linux-v4.15.patch" of type "text/x-diff" (977 bytes)

View attachment "0020-elf.h-add-AT_-auxval-macros-for-cache-geometry.patch" of type "text/x-diff" (894 bytes)

View attachment "0021-elf.h-add-PPC64_OPT_LOCALENTRY.patch" of type "text/x-diff" (694 bytes)

View attachment "0022-elf.h-update-NT_-coredump-elf-notes-for-linux-v4.15.patch" of type "text/x-diff" (2027 bytes)

View attachment "0023-elf.h-syncronize-DF_1_-flags-with-binutils.patch" of type "text/x-diff" (771 bytes)

View attachment "0024-elf.h-add-DT_SYMTAB_SHNDX.patch" of type "text/x-diff" (843 bytes)

View attachment "0025-aarch64-add-sve_context-struct-and-related-defines-f.patch" of type "text/x-diff" (2678 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ