Yakkety SRU 0/10 - Purley: Memory Protection Keys

Tim Gardner tim.gardner at canonical.com
Wed Oct 19 15:09:00 UTC 2016


https://bugs.launchpad.net/bugs/1591804

The following changes since commit d1e5d2181ffebfb0b5d05fe72c6ab107a14de1a0:

  Linux 4.8.2 (2016-10-16 21:00:26 -0700)

are available in the git repository at:

  git://kernel.ubuntu.com/rtg/ubuntu-yakkety.git purley-lp1591804

for you to fetch changes up to 38f7e9fa44b4a856c6998421d3654d7096ce9203:

  x86/pkeys: Add self-tests (2016-10-19 07:42:15 -0700)

----------------------------------------------------------------
Dave Hansen (10):
      x86/pkeys: Add fault handling for PF_PK page fault bit
      mm: Implement new pkey_mprotect() system call
      x86/pkeys: Make mprotect_key() mask off additional vm_flags
      x86/pkeys: Allocation/free syscalls
      x86: Wire up protection keys system calls
      generic syscalls: Wire up memory protection keys syscalls
      pkeys: Add details of system call use to Documentation/
      x86/pkeys: Default to a restrictive init PKRU
      x86/pkeys: Allow configuration of init_pkru
      x86/pkeys: Add self-tests

 Documentation/kernel-parameters.txt           |    5 +
 Documentation/x86/protection-keys.txt         |   62 ++
 arch/alpha/include/uapi/asm/mman.h            |    5 +
 arch/mips/include/uapi/asm/mman.h             |    5 +
 arch/parisc/include/uapi/asm/mman.h           |    5 +
 arch/x86/entry/syscalls/syscall_32.tbl        |    5 +
 arch/x86/entry/syscalls/syscall_64.tbl        |    5 +
 arch/x86/include/asm/mmu.h                    |    8 +
 arch/x86/include/asm/mmu_context.h            |   25 +-
 arch/x86/include/asm/pkeys.h                  |   73 +-
 arch/x86/kernel/fpu/core.c                    |    4 +
 arch/x86/kernel/fpu/xstate.c                  |    5 +-
 arch/x86/mm/fault.c                           |    9 +
 arch/x86/mm/pkeys.c                           |  142 ++-
 arch/xtensa/include/uapi/asm/mman.h           |    5 +
 include/linux/pkeys.h                         |   41 +-
 include/linux/syscalls.h                      |    8 +
 include/uapi/asm-generic/mman-common.h        |    5 +
 include/uapi/asm-generic/unistd.h             |   12 +-
 mm/mprotect.c                                 |   90 +-
 tools/testing/selftests/x86/Makefile          |    3 +-
 tools/testing/selftests/x86/pkey-helpers.h    |  219 ++++
 tools/testing/selftests/x86/protection_keys.c | 1410 +++++++++++++++++++++++++
 23 files changed, 2113 insertions(+), 38 deletions(-)
 create mode 100644 tools/testing/selftests/x86/pkey-helpers.h
 create mode 100644 tools/testing/selftests/x86/protection_keys.c

rtg




More information about the kernel-team mailing list