Auteur: Phil Pennock Datum: Aan: Jeremy Harris CC: exim-dev Onderwerp: Re: [exim-dev] Why does tls_dropprivs_validate_require_cipher()
call fflush(NULL)?
On 2012-12-14 at 18:12 +0000, Jeremy Harris wrote: > On 14/12/2012 16:56, Michael Haardt wrote:
> > I just came across those calls, because they fail on SunOS 4. Which files are
> > they supposed to flush?
>
> The linux manpage, at least, for fflush() says that NULL will
> flush all open files.
This is actually ANSI C. We're not even talking POSIX here, but C
itself.
It's "flush all stdio streams which might have buffered data", which
seems appropriate before a security boundary transition.