[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1804301741570.3243@hypnos.tec.linutronix.de>
Date: Mon, 30 Apr 2018 17:50:50 +0200 (CEST)
From: Anna-Maria Gleixner <anna-maria@...utronix.de>
To: linux-kernel@...r.kernel.org
cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
"Tobin C. Harding" <me@...in.cc>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Hashed pointer issues
Hi,
I stumbled over an issue with hashed pointers and tracing.
I'm using trace points for examination and on error the trace buffers
are dumped. The error occurs when entropy has not been set up, so the
pointers are not hashed and only (ptrval) is printed instead. The
pointers are required to distinguish the different objects in the
trace.
Beside workarounds like patching lib/vsprintf.c helpers before testing
or dumping trace buffers later (given that kernel comes up properly
and entropy is set up), is there a possible generic solution for this
issue? A commandline option for disabling the pointer obfuscation
would be a pretty handy tool.
Thanks,
Anna-Maria
Powered by blists - more mailing lists