qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] ARM brk bug


From: Andreas Schwab
Subject: Re: [Qemu-devel] ARM brk bug
Date: Sat, 03 Mar 2012 23:08:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Paul Brook <address@hidden> writes:

>> 15545 brk(NULL) = 0x00012000
>> 15545 brk(0x00812000) = 0x00012000
>
> This is your bug.  According to the trace above, the brk call fails, but 
> returns success anyway.  A quick look at do_brk confirms this suspicion.

This is not a bug.  The brk syscall always returns the break value,
either the new one (on success) or the current one (on failure).

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]