aboutsummaryrefslogtreecommitdiff
path: root/qdict-test-data.txt
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2019-03-05 17:45:05 +0100
committerLaurent Vivier <laurent@vivier.eu>2019-03-07 10:57:29 +0100
commitba584f1de30e58b0d93cd81bd437271b894eefbf (patch)
tree0acddcc77db3ff6d4ded9942616c5a3969003f07 /qdict-test-data.txt
parent14c8a3a157b437e54fbe097d991dca86ac828a14 (diff)
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 'qdict-test-data.txt')
0 files changed, 0 insertions, 0 deletions