Thread (38 messages) 38 messages, 6 authors, 2020-05-28

Re: [PATCH 12/23] bpf: handle the compat string in bpf_trace_copy_string better

From: Andrii Nakryiko <hidden>
Date: 2020-05-21 22:10:52
Also in: bpf, linux-mm, linux-um, lkml

On Thu, May 21, 2020 at 8:24 AM Christoph Hellwig [off-list ref] wrote:
User the proper helper for kernel or userspace addresses based on
TASK_SIZE instead of the dangerous strncpy_from_unsafe function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
Acked-by: Andrii Nakryiko <redacted>
 kernel/trace/bpf_trace.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help