Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH] printk: hash addresses printed with %p

$
0
0
Linus Torvalds writes: (Summary) In yet other cases, you'll know specific bit patterns of the pointers (like "I know this reports a page address, so the upper 14 bits are all set, and the lower 12 bits are all zero").
and the lower 12 bits are all zero").
You need just a few of those kinds of things, and you're going to easily break the obfuscation.
easily break the obfuscation.
A *normal* user won't bother. So I'm absolutely ok with this patch for testing, and for finding the places that need fixing up, but it should be clear that for real hardening we'd need something much smarter.
hardening we'd need something much smarter.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 1267

Trending Articles