Introducing freezero(3) a version of free that guarantees the process
authorotto <otto@openbsd.org>
Mon, 10 Apr 2017 05:45:02 +0000 (05:45 +0000)
committerotto <otto@openbsd.org>
Mon, 10 Apr 2017 05:45:02 +0000 (05:45 +0000)
commitc0e0c2a5d0f4e9dbb22afd588e51b094b944c4d5
treea00f12c269d26ca7b2f3b232c2c3798d6aaf4143
parent48056698fa9cecc29143b023011aa5bd47522472
Introducing freezero(3) a version of free that guarantees the process
no longer has access to the content of a memmory object. It does
this by either clearing (if the object memory remains cached) or
by calling munmap(2). ok millert@, deraadt@, guenther@
include/stdlib.h
lib/libc/Symbols.list
lib/libc/hidden/stdlib.h
lib/libc/stdlib/malloc.3
lib/libc/stdlib/malloc.c