Skip to content

Commit 1eecbcd

Browse files
mchehabJonathan Corbet
authored andcommitted
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: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 14b7674 commit 1eecbcd

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

Documentation/core-api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Core utilities
3434
timekeeping
3535
boot-time-mm
3636
memory-hotplug
37+
protection-keys
3738

3839

3940
Interfaces for kernel debugging
File renamed without changes.

Documentation/x86/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ x86-specific Documentation
1919
tlb
2020
mtrr
2121
pat
22-
protection-keys
2322
intel_mpx
2423
amd-memory-encryption
2524
pti

arch/powerpc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ config PPC_MEM_KEYS
898898
page-based protections, but without requiring modification of the
899899
page tables when an application changes protection domains.
900900

901-
For details, see Documentation/vm/protection-keys.rst
901+
For details, see Documentation/core-api/protection-keys.rst
902902

903903
If unsure, say y.
904904

arch/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ config X86_INTEL_MEMORY_PROTECTION_KEYS
19111911
page-based protections, but without requiring modification of the
19121912
page tables when an application changes protection domains.
19131913

1914-
For details, see Documentation/x86/protection-keys.txt
1914+
For details, see Documentation/core-api/protection-keys.rst
19151915

19161916
If unsure, say y.
19171917

tools/testing/selftests/x86/protection_keys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Tests x86 Memory Protection Keys (see Documentation/x86/protection-keys.txt)
3+
* Tests x86 Memory Protection Keys (see Documentation/core-api/protection-keys.rst)
44
*
55
* There are examples in here of:
66
* * how to set protection keys on memory

0 commit comments

Comments
 (0)