[LTP] [linus:master] [iomap] 219580eea1: ltp.writev07.fail
Cyril Hrubis
chrubis@suse.cz
Thu Jul 13 17:12:15 CEST 2023
Hi!
The test description:
Verify writev() behaviour with partially valid iovec list.
Kernel <4.8 used to shorten write up to first bad invalid
iovec. Starting with 4.8, a writev with short data (under
page size) is likely to get shorten to 0 bytes and return
EFAULT.
This test doesn't make assumptions how much will write get
shortened. It only tests that file content/offset after
syscall corresponds to return value of writev().
See: [RFC] writev() semantics with invalid iovec in the middle
https://marc.info/?l=linux-kernel&m=147388891614289&w=2
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list