summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/gen_kselftest_tar.sh
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2022-01-20 05:08:36 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-20 09:52:53 +0300
commit4cfb943537ed3716daf668ca5a33d3ce667f82a3 (patch)
treec54133c9799aae6cb84ce67852311268ced8c1aa /tools/testing/selftests/gen_kselftest_tar.sh
parentd068144d3b2cae09062ed936a3865c093ff69590 (diff)
downloadlinux-4cfb943537ed3716daf668ca5a33d3ce667f82a3.tar.xz
tools/bpf/bpftool/skeleton: replace bpf_probe_read_kernel with bpf_probe_read_kernel_str to get task comm
bpf_probe_read_kernel_str() will add a nul terminator to the dst, then we don't care about if the dst size is big enough. Link: https://lkml.kernel.org/r/20211120112738.45980-7-laoar.shao@gmail.com Signed-off-by: Yafang Shao <laoar.shao@gmail.com> Acked-by: Andrii Nakryiko <andrii@kernel.org> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com> Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com> Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com> Cc: Michal Miroslaw <mirq-linux@rere.qmqm.pl> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Matthew Wilcox <willy@infradead.org> Cc: David Hildenbrand <david@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Kees Cook <keescook@chromium.org> Cc: Petr Mladek <pmladek@suse.com> Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/gen_kselftest_tar.sh')
0 files changed, 0 insertions, 0 deletions