Tim van der Molen <[email protected]> wrote:

> Philipp Klaus Krause (2020-08-10 21:00 +0200):
> > Am 10.08.20 um 17:00 schrieb Theo de Raadt:
> > > Philipp Klaus Krause <[email protected]> wrote:
> > > 
> > >> OpenBSD has the explicit_bzero function to reliably (i.e. even if not
> > >> observable in the C abstract machine) overwrite memory with zeroes.
> > >>
> > >> WG14 is currently considering adding similar functionality to C2X.
> > > 
> > > Then perhaps in the interests of the public they should use the same
> > > name, but I suspect they won't.
> > 
> > The functionality (i.e. some way to reliably overwrite memory) already
> > exists under different names: explicit_bzero in OpenBSD,
> 
> explicit_bzero is also in glibc, musl, FreeBSD and DragonFly.

And pervasively used.  debian code search can review the situation.

Will people need additional #ifdef's to use the new officially
sanctioned API?  To me, that seems utterly stupid.


Reply via email to