Thread (14 messages) 14 messages, 4 authors, 2015-03-23

RE: [PATCH v10 tip 5/9] tracing: allow BPF programs to call bpf_trace_printk()

From: David Laight <hidden>
Date: 2015-03-23 11:39:37
Also in: linux-api, lkml

From: Alexei Starovoitov
Debugging of BPF programs needs some form of printk from the program,
so let programs call limited trace_printk() with %d %u %x %p modifiers only.
Should anyone be allowed to use BPF programs to determine the kernel
addresses of any items?
Looks as though it is leaking kernel addresses to userspace.
Note that the problem is with the arguments, not the format string.

	David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help