explicit_bzero(Linux 3) -> explicit_memset(3)

[email protected]
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
For example xorg libXau (I'm working on debugging X11 stuff; this is
why...) uses explicit_bzero(Linux 3) that NetBSD does not provide
(legitimately: bzero(3) has been deprecated in POSIX since there is
memset(3)).

But there is explicit_memset(3) to avoid compiler optimizing the
zeroing away.

Is there some policy concerning this, i.e. mapping explicit_bzero(3)
to explicit_memset(3) in external code? (I could also propose a patch
upstream to have a feature macro to use explicit_memset(3) when
available).
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.