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

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2017-12-07 05:29:24
Reply to
Tobin C. Harding, 2017-12-07
On Dec 6, 2017 21:17, "Tobin C. Harding" [off-list ref] wrote:

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?


No, we still want those configurations to be debuggable.

If !CONFIG_KALLSYMS, we'll just continue print the hex number. It's not a
normal configuration, leaking an address there is fine, and preferable to
"cannot debug"

   Linus
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