commit | 04b9bcf911af2b4563b1f1b2e8a103b796dcc9eb | [log] [tgz] |
---|---|---|
author | Laurent Vivier <laurent@vivier.eu> | Wed Mar 01 10:37:47 2017 +0100 |
committer | Riku Voipio <riku.voipio@linaro.org> | Mon May 29 14:56:07 2017 +0300 |
tree | a56d1bd8030568855ba011d554fc58add82dd250 | |
parent | 9964e96dc9999cf7f7c936ee854a795415d19b60 [diff] |
linux-user: call fd_trans_target_to_host_data() for write() As for sendmsg() or sendto(), we must call the target to host data translator if it is defined. This is needed for eventfd(): the write() syscall allows to add a value to the internal counter, and so, it must be byte-swapped to the host order. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>