|
Message-ID: <20180428195656.GU4418@port70.net> Date: Sat, 28 Apr 2018 21:56:56 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: [PATCH 0/9] linux v4.16 update the ptrace.h change is probably not ok (glibc added struct __ptrace_seccomp_metadata instead of the kernel struct seccomp_metadata, but the same is true for ptrace_peeksiginfo_args where musl currently follows linux instead of glibc, maybe that should be fixed?). the last patch is an unfinished proposal to add some new syscalls glibc already has, but i ran into some issues so comments are welcome. i ran the patch set through compile testing. Szabolcs Nagy (9): siginfo struct change following linux v4.16 elf.h: add NT_PPC_PKEY from linux v4.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 [RFC] add new memory mapping related apis arch/aarch64/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 +++ include/elf.h | 1 + include/netinet/if_ether.h | 2 ++ include/signal.h | 12 ++++++++---- include/sys/epoll.h | 1 + include/sys/mman.h | 24 +++++++++++++++++++++--- include/sys/ptrace.h | 6 ++++++ src/linux/memfd_create.c | 10 ++++++++++ src/linux/mlock2.c | 15 +++++++++++++++ src/linux/pkey_alloc.c | 15 +++++++++++++++ src/linux/pkey_get.c | 9 +++++++++ src/linux/pkey_mprotect.c | 15 +++++++++++++++ src/linux/pkey_set.c | 9 +++++++++ 17 files changed, 127 insertions(+), 7 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 View attachment "0001-siginfo-struct-change-following-linux-v4.16.patch" of type "text/x-diff" (1971 bytes) View attachment "0002-elf.h-add-NT_PPC_PKEY-from-linux-v4.16.patch" of type "text/x-diff" (728 bytes) View attachment "0003-sys-epoll.h-add-EPOLLNVAL-from-linux-v4.16.patch" of type "text/x-diff" (834 bytes) View attachment "0004-netinet-if_ether.h-add-ETH_P_ERSPAN2-from-linux-v4.1.patch" of type "text/x-diff" (780 bytes) View attachment "0005-netinet-if_ether.h-add-ETH_TLEN-from-linux-v4.16.patch" of type "text/x-diff" (713 bytes) View attachment "0006-sys-ptrace.h-add-PTRACE_SECCOMP_GET_METADATA-from-li.patch" of type "text/x-diff" (1016 bytes) View attachment "0007-aarch64-add-HWCAP_ASIMDFHM-from-linux-v4.16.patch" of type "text/x-diff" (695 bytes) View attachment "0008-powerpc-add-pkey-syscall-numbers-from-linux-v4.16.patch" of type "text/x-diff" (1424 bytes) View attachment "0009-RFC-add-new-memory-mapping-related-apis.patch" of type "text/x-diff" (5894 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.