• Linus Torvalds's avatar
    Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 93c26d7d
    Linus Torvalds authored
    Pull protection keys syscall interface from Thomas Gleixner:
     "This is the final step of Protection Keys support which adds the
      syscalls so user space can actually allocate keys and protect memory
      areas with them. Details and usage examples can be found in the
      documentation.
    
      The mm side of this has been acked by Mel"
    
    * 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/pkeys: Update documentation
      x86/mm/pkeys: Do not skip PKRU register if debug registers are not used
      x86/pkeys: Fix pkeys build breakage for some non-x86 arches
      x86/pkeys: Add self-tests
      x86/pkeys: Allow configuration of init_pkru
      x86/pkeys: Default to a restrictive init PKRU
      pkeys: Add details of system call use to Documentation/
      generic syscalls: Wire up memory protection keys syscalls
      x86: Wire up protection keys system calls
      x86/pkeys: Allocation/free syscalls
      x86/pkeys: Make mprotect_key() mask off additional vm_flags
      mm: Implement new pkey_mprotect() system call
      x86/pkeys: Add fault handling for PF_PK page fault bit
    93c26d7d
mprotect.c 13 KB