From: Alexei Starovoitov <[email protected]>
Date: Wed, 6 Jul 2016 22:38:36 -0700

> over time there were multiple requests to access different data
> structures and fields of task_struct current, so finally add
> the helper to access 'current' as-is. Tracing bpf programs will do
> the rest of walking the pointers via bpf_probe_read().
> Note that current can be null and bpf program has to deal it with,
> but even dumb passing null into bpf_probe_read() is still safe.
> 
> Suggested-by: Brendan Gregg <[email protected]>
> Signed-off-by: Alexei Starovoitov <[email protected]>
> Acked-by: Daniel Borkmann <[email protected]>

Applied.

Reply via email to