[LTP] [PATCH] syscalls/ustat: Move the syscall to lapi

pvorel pvorel@suse.de
Thu Feb 21 15:50:03 CET 2019


Hi,

>> Just a thought, but this is potentially a problem if lib C implementes
>> ustat in user land, but the system call still exists. Which I think is
>> more likely with an obsolete system call.
> 
> Good point. So it all depends on what we want to focus on, if we are
> after kernel, we should call the syscall directly, if we look at system
> functionality we should go after the libc one by default.
> 
> I guess that ideally we should test both, not sure how to achiveve that
> reasonably easily...
+1.

Petr


More information about the ltp mailing list