From: John R. <jr...@bi...> - 2009-07-20 04:13:41
|
> Is this info specific to Linux/glibc? AFAICT sbrk/brk > isn't even POSIX, which makes it even harder to determine what it > should do. sbrk and brk are not POSIX. However, any system that is a derivative of *nix has sbrk and brk because there are too many softwares (such as the Bourne shell) which rely on the traditional memory map (.text, .data+.bss, stack) and the existence of sbrk/brk. A key property of sbrk/brk is that new whole pages that are supplied by the operating system *do* get initialized to zero. Memcheck must support and honor this property. -- John Reiser, jr...@Bi... |