Re: [PATCH v5] kptr_restrict for hiding kernel pointers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Wednesday, December 22, 2010 - 10:13 am

* Dan Rosenberg <drosenberg@vsecurity.com> wrote:


Hm, that bit looks possibly broken - some useful warning in irq context could print 
a pointer into the syslog and this would generate a second warning? That probably 
would crash as it recurses back into the printk code?

Instead a warning could be inserted into the generated output instead, for example 
'pK-error' (carefully staying within pointer length limits).

Also, it would be nice to see a couple of actual %pK usage sites submitted as well - 
instead of this pure infrastructure patch.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v5] kptr_restrict for hiding kernel pointers, Dan Rosenberg, (Wed Dec 22, 10:00 am)
Re: [PATCH v5] kptr_restrict for hiding kernel pointers, Ingo Molnar, (Wed Dec 22, 10:13 am)
Re: [PATCH v5] kptr_restrict for hiding kernel pointers, Dan Rosenberg, (Wed Dec 22, 10:17 am)
Re: [PATCH v5] kptr_restrict for hiding kernel pointers, Dan Rosenberg, (Wed Dec 22, 10:19 am)
Re: [PATCH v5] kptr_restrict for hiding kernel pointers, Dan Rosenberg, (Wed Dec 22, 10:35 am)
Re: [PATCH v5] kptr_restrict for hiding kernel pointers, Valdis.Kletnieks, (Wed Dec 22, 2:43 pm)