diff options
author | Petar Jovanovic <petar.jovanovic@imgtec.com> | 2014-04-08 19:24:30 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2014-05-05 15:21:05 +0300 |
commit | a39fb273bddd315b440b0617783051456a148242 (patch) | |
tree | 8ccd2005d78a7d0556a4118d4fdde3e8eabcc4b6 /migration-tcp.c | |
parent | ad6919dc0ab3b8ae26d772e883aa8e709785d249 (diff) |
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 <petar.jovanovic@imgtec.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'migration-tcp.c')
0 files changed, 0 insertions, 0 deletions