]> Git Repo - qemu.git/commit
linux-user: fix getrusage and wait4 failures with invalid rusage struct
authorPetar Jovanovic <[email protected]>
Tue, 8 Apr 2014 17:24:30 +0000 (19:24 +0200)
committerRiku Voipio <[email protected]>
Mon, 5 May 2014 12:21:05 +0000 (15:21 +0300)
commita39fb273bddd315b440b0617783051456a148242
tree8ccd2005d78a7d0556a4118d4fdde3e8eabcc4b6
parentad6919dc0ab3b8ae26d772e883aa8e709785d249
linux-user: fix getrusage and wait4 failures with invalid rusage struct

Implementations of system calls getrusage and wait4 have not previously
handled correctly cases when incorrect address of struct rusage is
passed.
This change makes sure return values are correctly set for these cases.

Signed-off-by: Petar Jovanovic <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/syscall.c
This page took 0.025062 seconds and 4 git commands to generate.