This is the mail archive of the
mailing list for the glibc project.
Re: support for calling Linux syscalls directly
On 02/12/2013 10:58 AM, email@example.com wrote:
But in reality I often end up with several testcases broken the same way
because they shared common ancestors and were copied all over with just
a slight modification. Complicated pieces of code are simply not worth
of duplication. I would rather have single place where I can fix bug in
way how syscall done because this code is complicated enough and does
exactly the same work in each project.
There are, on the other hand, duplications that makes sense because the
resulting projects have different objectives. In LTP posix conformance
tests overlaps fairly with libc tests, which is fine.
If you want generic system call stubs you may want to look at the ones
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.