The new interface is in v4.9: 5f23f6d x86/pkeys: Add self-tests 76de993 x86/pkeys: Allow configuration of init_pkru acd547b x86/pkeys: Default to a restrictive init PKRU c74fe39 pkeys: Add details of system call use to Documentation/ a60f7b6 generic syscalls: Wire up memory protection keys syscalls f9afc61 x86: Wire up protection keys system calls e8c24d3 x86/pkeys: Allocation/free syscalls a8502b6 x86/pkeys: Make mprotect_key() mask off additional vm_flags 7d06d9c mm: Implement new pkey_mprotect() system call e8c6226 x86/pkeys: Add fault handling for PF_PK page fault bit
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1591804 Title: [Feature] Purley: Memory Protection Keys Status in intel: New Status in linux package in Ubuntu: Incomplete Bug description: Memory Protection Keys for Userspace (PKU aka PKEYs) is a Skylake-SP server feature that provides a mechanism for enforcing page-based protections, but without requiring modification of the page tables when an application changes protection domains. It works by dedicating 4 previously ignored bits in each page table entry to a "protection key", giving 16 possible keys. There is also a new user-accessible register (PKRU) with two separate bits (Access Disable and Write Disable) for each key.Being a CPU register, PKRU is inherently thread-local,potentially giving each thread a different set of protectionsfrom every other thread. There are two new instructions (RDPKRU/WRPKRU) for reading and writing to the new register. The feature is only available in 64-bit mode, even though there is theoretically space in the PAE PTEs. These permissions are enforced on data access only and have no effect on instruction fetches. HW: Purley Upstream status: v4.6 kernel implement basic and execute-only support v4.9 kernel will have new interface To manage notifications about this bug go to: https://bugs.launchpad.net/intel/+bug/1591804/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp