Commit 1eecbcdc authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

docs: move protection-keys.rst to the core-api book

This document is used by multiple architectures:

	$ echo $(git grep -l  pkey_mprotect arch|cut -d'/' -f 2|sort|uniq)
	alpha arm arm64 ia64 m68k microblaze mips parisc powerpc s390 sh sparc x86 xtensa

So, let's move it to the core book and adjust the links to it
accordingly.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 14b76743
...@@ -34,6 +34,7 @@ Core utilities ...@@ -34,6 +34,7 @@ Core utilities
timekeeping timekeeping
boot-time-mm boot-time-mm
memory-hotplug memory-hotplug
protection-keys
Interfaces for kernel debugging Interfaces for kernel debugging
......
...@@ -19,7 +19,6 @@ x86-specific Documentation ...@@ -19,7 +19,6 @@ x86-specific Documentation
tlb tlb
mtrr mtrr
pat pat
protection-keys
intel_mpx intel_mpx
amd-memory-encryption amd-memory-encryption
pti pti
......
...@@ -898,7 +898,7 @@ config PPC_MEM_KEYS ...@@ -898,7 +898,7 @@ config PPC_MEM_KEYS
page-based protections, but without requiring modification of the page-based protections, but without requiring modification of the
page tables when an application changes protection domains. page tables when an application changes protection domains.
For details, see Documentation/vm/protection-keys.rst For details, see Documentation/core-api/protection-keys.rst
If unsure, say y. If unsure, say y.
......
...@@ -1911,7 +1911,7 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS ...@@ -1911,7 +1911,7 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS
page-based protections, but without requiring modification of the page-based protections, but without requiring modification of the
page tables when an application changes protection domains. page tables when an application changes protection domains.
For details, see Documentation/x86/protection-keys.txt For details, see Documentation/core-api/protection-keys.rst
If unsure, say y. If unsure, say y.
......
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
/* /*
* Tests x86 Memory Protection Keys (see Documentation/x86/protection-keys.txt) * Tests x86 Memory Protection Keys (see Documentation/core-api/protection-keys.rst)
* *
* There are examples in here of: * There are examples in here of:
* * how to set protection keys on memory * * how to set protection keys on memory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment