summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-05-19 15:30:21 +0000
committerschwarze <schwarze@openbsd.org>2019-05-19 15:30:21 +0000
commit71e967831b7bcd1c934b49c7b55e0255658b191e (patch)
tree59047168ac028c1493c0a028c1800596ae9adb27 /lib/libc/stdlib/malloc.3
parentFix integer overflow in block size calculation. (diff)
downloadwireguard-openbsd-71e967831b7bcd1c934b49c7b55e0255658b191e.tar.xz
wireguard-openbsd-71e967831b7bcd1c934b49c7b55e0255658b191e.zip
clarify that later flags modify earlier flags;
triggered by a question from Jan Stary <hans at stare dot cz> on misc@; OK otto@
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 03e3bee46b9..05068937dd4 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.124 2019/05/13 06:04:55 otto Exp $
+.\" $OpenBSD: malloc.3,v 1.125 2019/05/19 15:30:21 schwarze Exp $
.\"
-.Dd $Mdocdate: May 13 2019 $
+.Dd $Mdocdate: May 19 2019 $
.Dt MALLOC 3
.Os
.Sh NAME
@@ -270,6 +270,8 @@ and finally looks at the global variable
in the program.
Each is scanned for the flags documented below.
Unless otherwise noted uppercase means on, lowercase means off.
+During initialization, flags occurring later modify the behaviour
+that was requested by flags processed earlier.
.Bl -tag -width indent
.It Cm C
.Dq Canaries .