Cyril Hrubis
Cyril Hrubis
We do have quite a bit of documentation in the headers in a parseable format at this point so it makes sense to produce a formal API description out of...
The testcases in syscalls/fstat are old, messy and duplicated and should be rewritten.
See: https://lwn.net/Articles/883104/ There are some complex tests in selftests already but the glibc API is not covered there at all. We should concentrate on testing the newly added glibc API...
There was one unsuccessful attempt already, see this emails for hints: http://lists.linux.it/pipermail/ltp/2015-December/000613.html http://lists.linux.it/pipermail/ltp/2015-December/000633.html The documentation for the interface is packed with Linux kernel source in Documentation/cgroup-v1/blkio-controller.txt
See: ``` commit 7a82f89de92aac5a244d3735b2bd162c1147620c Author: Paul Moore Date: Wed Feb 9 14:49:38 2022 -0500 audit: don't deref the syscall args when checking the openat2 open_how::flags As reported by Jeff, dereferencing...
https://lwn.net/Articles/866112/ https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=595b28fb0c8949463d8ec1e485f36d17c870ddb2 There are some selftests but I haven't checked if the coverage is sufficient.
See: http://man7.org/linux/man-pages/man2/ioprio_set.2.html
There is no point in having two different directories with semop() testcaes so it would make sense to move these two tests into the syscalls/ipc/semop/ directory as semop04 and semop05...
The test uses an old library tlibio.c that is stuck in the top level lib/ directory. If nothing else the tlibio.c should be moved into a separate library, e.g. libs/tlibio/...
See the discussion in: https://lists.linux.it/pipermail/ltp/2021-September/025017.html