summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorAndreas Schwab2019-03-05 17:45:05 +0100
committerLaurent Vivier2019-03-07 10:57:29 +0100
commitba584f1de30e58b0d93cd81bd437271b894eefbf (patch)
tree0acddcc77db3ff6d4ded9942616c5a3969003f07 /hmp-commands.hx
parentFix breakpoint support in Nios II user-mode emulation. (diff)
downloadqemu-ba584f1de30e58b0d93cd81bd437271b894eefbf.tar.gz
qemu-ba584f1de30e58b0d93cd81bd437271b894eefbf.tar.xz
qemu-ba584f1de30e58b0d93cd81bd437271b894eefbf.zip
linux-user: don't short-circuit read with zero length
A zero-length read still needs to do the usual checks, thus it may return errors like EBADF. This makes the read syscall emulation consistent with the pread64 syscall emulation. Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <mvm5zsxz2we.fsf@suse.de> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions