summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf-read-vdso.c
diff options
context:
space:
mode:
authorSargun Dhillon <sargun@sargun.me>2022-05-03 10:09:57 +0200
committerKees Cook <keescook@chromium.org>2022-05-03 23:20:49 +0200
commit922a1b520c5ffb09079dddeb0c686f9c008a9923 (patch)
treea68345f286130a12e8679a301a83c5a5d0b987a7 /tools/perf/perf-read-vdso.c
parentseccomp: Add wait_killable semantic to seccomp user notifier (diff)
downloadlinux-922a1b520c5ffb09079dddeb0c686f9c008a9923.tar.xz
linux-922a1b520c5ffb09079dddeb0c686f9c008a9923.zip
selftests/seccomp: Refactor get_proc_stat to split out file reading code
This splits up the get_proc_stat function to make it so we can use it as a generic helper to read the nth field from multiple different files, versus replicating the logic in multiple places. Signed-off-by: Sargun Dhillon <sargun@sargun.me> Cc: linux-kselftest@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20220503080958.20220-3-sargun@sargun.me
Diffstat (limited to 'tools/perf/perf-read-vdso.c')
0 files changed, 0 insertions, 0 deletions