Re: [PATCH V11 4/5] vsprintf: add printk specifier %px

From
Sergey Senozhatsky <hidden>
Date
2017-12-07 05:38:03
Also in
lkml
Reply to
Tobin C. Harding, 2017-12-07
On (12/07/17 16:17), Tobin C. Harding wrote:
[..]
quoted
hm, indeed. and !CONFIG_KALLSYMS config turns %pS/%ps
into special_hex_number().
But totally misses this :(

"<no-sym>" would be better returned when !CONFIG_KALLSYMS, right?
I guess I'll take back my comment.

I assume there are tons of embedded devices that have !CONFIG_KALLSYMS
in 'release' builds, yet those devices still warn/oops sometimes; having
pointers/hex numbers is really the only way to make any sense out of
backtraces... yet it, basically, means that we are leaking kernel pointers.

	-ss
Thread (48 messages) 48 messages, 12 authors, last reply 2017-12-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help