commit | 4c32fa8513ee02dfbdf75129fb3b9952de08be53 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <jolsa@kernel.org> | Fri Jan 27 15:27:39 2023 +0100 |
committer | Jiri Olsa <jolsa@kernel.org> | Thu Mar 16 11:14:09 2023 +0100 |
tree | 8b5027eff9bfd69c46b98ceec32e00adbf816bad | |
parent | 01cf715f43fa4c94c1df4fd434cc9e3abb731223 [diff] |
selftests/bpf: Add file_build_id test The test attaches bpf program to sched_process_exec tracepoint and gets build of executed file from bprm->file object. We use urandom_read as the test program and in addition we also attach uprobe to liburandom_read.so:urandlib_read_without_sema and retrieve and check build id of that shared library. Also executing the no_build_id binary to verify the bpf program gets the error properly. Signed-off-by: Jiri Olsa <jolsa@kernel.org>