support for calling Linux syscalls directly
H. Peter Anvin
hpa@zytor.com
Tue Feb 12 18:59:00 GMT 2013
On 02/12/2013 10:58 AM, chrubis@suse.cz 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
in klibc.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Libc-alpha
mailing list