add explicit_bzero implementation
authorDavid Carlier <dcarlier@afilias.info>
Fri, 15 Jun 2018 13:30:09 +0000 (13:30 +0000)
committerRich Felker <dalias@aerifal.cx>
Tue, 26 Jun 2018 20:59:12 +0000 (16:59 -0400)
commit05ac345f895098657cf44d419b5d572161ebaf43
tree03edd3b56ada466c2aa5baf5ec33972cc2a322d2
parent5c8e69267b9ae919e55eee4b79580224111bc3ba
add explicit_bzero implementation

maintainer's note: past sentiment was that, despite being imperfect
and unable to force clearing of all possible copies of sensitive data
(e.g. in registers, register spills, signal contexts left on the
stack, etc.) this function would be added if major implementations
agreed on it, which has happened -- several BSDs and glibc all include
it.
include/string.h
src/string/explicit_bzero.c [new file with mode: 0644]