Open metan-ucw opened 3 years ago
Perhaps we need a "write any FD to and FD", test. Which tests copying data between objects addressable by File Descriptors using various methods.
Some other System calls to consider: readv/writev, tee, vmsplice, mmap
First case for splice on proc https://patchwork.ozlabs.org/project/ltp/patch/20230817003947.16029-1-wegao@suse.com/
Recently there were some change in splice() kernel implementation that broke a few cases we did not even consider to test.
commit 14e3e989f6a5d9646b6cf60690499cc8bdc11f7d Author: Linus Torvalds torvalds@linux-foundation.org Date: Sun Dec 27 10:56:33 2020 -0800
commit 9bb48c82aced07698a2d08ee0f1475a6c4f6b266 Author: Linus Torvalds torvalds@linux-foundation.org Date: Tue Jan 19 11:41:16 2021 -0800
We should add coverage at least for splice() on proc files and possibly the tty as well.