lkml.org 
[lkml]   [2021]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2021-05-28 00:21    [W:0.033 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site