Messages in this thread | | | Date | Thu, 27 May 2021 15:20:27 -0700 | From | Kees Cook <> | Subject | Re: [PATCH] selftests/seccomp: Flush benchmark output regularly |
| |
On Thu, May 27, 2021 at 02:05:38PM -0500, Will Drewry wrote: > On Wed, May 26, 2021 at 10:30 PM Kees Cook <keescook@chromium.org> wrote: > > > > When running the seccomp benchmark under a test runner, it wouldn't > > provide any feedback on progress. Force IO flushes during the test. > > Would it make sense to just setbuf(stdout, NULL); in main?
*forehead slap* Ugh, yes. That works much better. I will respin. Thank you for the reminder about setbuf() existing. :)
-Kees
-- Kees Cook
| |