stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* docs: disable KASLR when debugging kernel
@ 2017-09-21 14:20 Natale Patriciello
  2017-09-21 14:54 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Natale Patriciello @ 2017-09-21 14:20 UTC (permalink / raw)
  To: stable

Hello,

Using KASLR will confuse gdb which resolves kernel symbol address from
symbol table of vmlinux. We should turn off KASLR for kernel
debugging, even in the older kernels in which its presence is
optional.

If you think it is correct, please apply to the kernels:

- 4.9   [ LTS ]
- 4.13 [ stable ]

The following commit already on the Linus tree:

- e604f1cb85367d2e5fd4cf253296d190996da81a ("docs: disable KASLR when
debugging kernel")

(stats):
 Documentation/dev-tools/gdb-kernel-debugging.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Thank you
Natale

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-21 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 14:20 docs: disable KASLR when debugging kernel Natale Patriciello
2017-09-21 14:54 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).