diff options
author | Guo Ren <ren_guo@c-sky.com> | 2017-09-25 21:15:04 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-10-01 08:54:13 +0200 |
commit | 8b233f2491b286a2bd741b042719fdf5fde50eb2 (patch) | |
tree | 1399ccbb0ee451aecd9b9659f0266b7b95ca86de /libc/termios/tcflush.c | |
parent | 2a3bb4daf5778c5875674cd26a3c75b3d460a042 (diff) |
preadv/pwritev: bugfix preadv/pwritev syscall should be 5 args
The current uclibc-ng use 4 arguments, and this will cause
ltp-testsuite's preadv/pwritev case failed.
The syscall of preadv/pwritev in current linux-kernel is 5 arguments:
linux/fs/read_write.c:
SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec,
unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h)
SYSCALL_DEFINE5(pwritev, unsigned long, fd, const struct iovec __user *, vec,
unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h)
So just update to 5-args-syscall, and off_t could be 32bit or 64bit.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'libc/termios/tcflush.c')
0 files changed, 0 insertions, 0 deletions