NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/7934: misc. problems remaining in brk/sbrk main page



The following reply was made to PR kern/7934; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/7934: misc. problems remaining in brk/sbrk main page
Date: Sat, 27 Aug 2016 23:06:56 +0000

 Module Name:	src
 Committed By:	dholland
 Date:		Sat Aug 27 23:06:01 UTC 2016
 
 Modified Files:
 	src/lib/libc/sys: brk.2
 
 Log Message:
 Rework pursuant to PR 7934: be more clear about the page granularity
 behavior and when new memory is zeroed.
 
 Also, strengthen the warning about mixing with calls to malloc (which
 is not a bug) and mention that the portable way to fetch the initial
 break is to call sbrk(0). There are implementations in the wild where
 using _end as the initial break doesn't work.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.32 -r1.33 src/lib/libc/sys/brk.2
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index