aboutsummaryrefslogtreecommitdiff
path: root/default-configs
diff options
context:
space:
mode:
authorDejan Jovicevic <dejan.jovicevic@rt-rk.com>2016-10-11 11:52:47 +0200
committerRiku Voipio <riku.voipio@linaro.org>2016-10-21 15:20:13 +0300
commitf8d00fba27b8667c86b2277af9c2efede28c93c3 (patch)
tree5cdce93b1cf68c26adce094de9bb75cc2de72700 /default-configs
parent0f26386c27d977d523c1e88410414af7739a1730 (diff)
linux-user: added support for pwritev() system call.
This system call performs the same task as the writev() system call, with the exception of having the fourth argument, offset, which specifes the file offset at which the input operation is to be performed. Because of this, the pwritev() implementation is based on the writev() implementation in linux-user mode. But, since pwritev() is implemented in the kernel as a 5-argument syscall, 5 arguments are needed to be handled as input and passed to the host syscall. The pos_l and pos_h argument of the safe_pwritev() are of type unsigned long, which can be of different sizes on different platforms. The input arguments are converted to the appropriate host size when passed to safe_pwritev(). Signed-off-by: Dejan Jovicevic <dejan.jovicevic@rt-rk.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'default-configs')
0 files changed, 0 insertions, 0 deletions