Re: [PATCH] vsprintf: Do not break early boot with probing addresses

From
Sergey Senozhatsky <hidden>
Date
2019-05-10 08:16:42
Also in
linux-arch, linux-s390, lkml
Reply to
Petr Mladek, 2019-05-10
On (05/10/19 10:06), Petr Mladek wrote:
[..]
I am going to send a patch replacing probe_kernel_address() with
a simple check:

	if ((unsigned long)ptr < PAGE_SIZE || IS_ERR_VALUE(ptr))
		return "(efault)";
I'm OK with this.
Probing ptrs was a good idea, it just didn't work out.

	-ss
Thread (39 messages) 39 messages, 11 authors, last reply 2019-05-15
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