summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2010-01-13 12:40:11 +0000
committerotto <otto@openbsd.org>2010-01-13 12:40:11 +0000
commit036d0e01978b166cdef6a458291d80ad71054cf3 (patch)
tree92c4fdd8561a48ae9b9a68031aa7db6f0f84eb57 /lib/libc/stdlib/malloc.3
parentDouble and in comment. (diff)
downloadwireguard-openbsd-036d0e01978b166cdef6a458291d80ad71054cf3.tar.xz
wireguard-openbsd-036d0e01978b166cdef6a458291d80ad71054cf3.zip
New options 'S', as a shorthand for the options most suitable as an
extra safeguard (FGJ). Idea from deraadt@; ok deraadt@ dlg@
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index e0edd9446e9..71962c565bf 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: malloc.3,v 1.63 2009/10/10 18:36:52 otto Exp $
+.\" $OpenBSD: malloc.3,v 1.64 2010/01/13 12:40:11 otto Exp $
.\"
-.Dd $Mdocdate: October 10 2009 $
+.Dd $Mdocdate: January 13 2010 $
.Dt MALLOC 3
.Os
.Sh NAME
@@ -272,6 +272,8 @@ This can substantially aid in compacting memory.
.\".Xr ktrace 1
.\"for all operations.
.\"Consult the source for this one.
+.It Cm S
+Enable all options suitable for security auditing.
.It Cm X
.Dq xmalloc .
Rather than return failure,