From 0776590d70565df4165b328f3cb80d29d21d52a5 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 31 May 2008 16:33:53 +0000 Subject: Mark host brk() area as reserved. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4637 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'exec.c') diff --git a/exec.c b/exec.c index 544e11136..a2e71f0b8 100644 --- a/exec.c +++ b/exec.c @@ -234,6 +234,7 @@ static void page_init(void) FILE *f; int n; + last_brk = (unsigned long)sbrk(0); f = fopen("/proc/self/maps", "r"); if (f) { do { -- cgit v1.2.3-65-gdbad