We are implementing a binary analysis tool that need to marshal Linux
system calls, and we've been using LTP to guide our implementation. We need
tests for syscall 240 sys_futex, and we can not find a test for this in
LTP. Please let us know if you have any advice on where to find tests for
syscalls 240 sys_futex.
I was able to locate an old thread about futex tests:
There is some futex tests in the Linux Checkpoint Restart Testsuite, but I
am not sure if these are sufficient. Please let us know what the best
solution is for testing syscall 240 sys_futex.
From: Garrett Cooper <yanegomi@gm...> - 2012-05-03 20:07:49
On Thu, May 3, 2012 at 6:12 AM, Cyril Hrubis <chrubis@...> wrote:
> Sorry I'm not aware of any tests directly for futex systcall in LTP. I
> guess that these are covered indirectly by glibc mutex and lock tests.
But it would be good to have tests that cover the individual requirements...
PS Assuming the syscall is always 240 is a really bad idea as syscall
numbers are arch dependent on Linux.