]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/seccomp: Flush benchmark output
authorKees Cook <keescook@chromium.org>
Thu, 27 May 2021 02:46:30 +0000 (19:46 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 28 Jun 2021 19:49:52 +0000 (12:49 -0700)
commitfda18a8c8f1f6fe26a46e5c471959752547cd037
tree36474f0ec7d5d8205dd3b33cd9212b0a6d4ce3fb
parentbc8f585f7f5bb330fb3282bbf61fb168428b4f43
selftests/seccomp: Flush benchmark output

When running the seccomp benchmark under a test runner, it wouldn't
provide any feedback on progress. Set stdout unbuffered.

Suggested-by: Will Drewry <wad@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/seccomp/seccomp_benchmark.c