mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-02 19:05:42 +00:00
powerpc/32: Stop printing Kernel virtual memory layout
Printing of Kernel virtual memory layout was added for debug purpose by commitf637a49e50("powerpc: Minor cleanups of kernel virt address space definitions") For security reasons, don't display the kernel's virtual memory layout. Other architectures have removed it through following commits. Commit071929dbdd("arm64: Stop printing the virtual memory layout") Commit1c31d4e96b("ARM: 8820/1: mm: Stop printing the virtual memory layout") Commit31833332f7("m68k/mm: Stop printing the virtual memory layout") Commitfd8d0ca256("parisc: Hide virtual kernel memory layout") Commit681ff0181b("x86/mm/init/32: Stop printing the virtual memory layout") Commit681ff0181b("x86/mm/init/32: Stop printing the virtual memory layout") thought x86 was the last one, but in reality powerpc/32 still had it. So remove it now on powerpc/32 as well. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Kees Cook <kees@kernel.org> [Maddy: Added "Commit" in commit message to avoid checkpatch error] Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/430bc8c1f2ff2eb9224b04450e22db472b0b9fa9.1736361630.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
2c1cbbab62
commit
2bf3caa7cc
1 changed files with 0 additions and 22 deletions
Loading…
Add table
Add a link
Reference in a new issue