git: libc/string: Add explicit_bzero() from OpenBSD.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Thu Apr 11 02:06:44 PDT 2019


commit c1f23d1610b93ad42bd3e047bbe0cfea888164cc
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Apr 9 10:29:03 2019 +0300

    libc/string: Add explicit_bzero() from OpenBSD.
    
    It is useful function for security related features. It allows to
    further manipulate discarded memory region through weak hook.
    Update the bzero.3 manpage.
    
    Taken-from: OpenBSD

Summary of changes:
 include/strings.h                                  |  3 ++
 lib/libc/string/Makefile.inc                       |  4 ++-
 lib/libc/string/Symbol.map                         |  4 +++
 lib/libc/string/bzero.3                            | 39 ++++++++++++++++++----
 .../compat => lib/libc/string}/explicit_bzero.c    |  4 ++-
 5 files changed, 45 insertions(+), 9 deletions(-)
 copy {crypto/libressl/crypto/compat => lib/libc/string}/explicit_bzero.c (64%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c1f23d1610b93ad42bd3e047bbe0cfea888164cc


-- 
DragonFly BSD source repository



More information about the Commits mailing list