[LTP] [PATCH] syscalls: Fix issues around calling syscalls with old timespec

Viresh Kumar viresh.kumar@linaro.org
Thu May 14 07:38:36 CEST 2020


On 13-05-20, 14:54, Petr Vorel wrote:
> Hi Viresh,
> 
> > > >  #ifndef __kernel_timex
> > > > +#if defined(__x86_64__) && defined(__ILP32__)
> > > > +typedef long long __kernel_long_t;
> > > > +#else
> > > > +typedef long __kernel_long_t;
> > > > +#endif
> > > > +
> > > > +typedef __kernel_long_t	__kernel_old_time_t;
> 
> > > It's caused by this fallback definition ^, which is already in
> > > include/tst_timer.h. Simple deleting it should fix the problem
> 
> > But tst_timer.h isn't included here in clock_adjtime at all. What's
> tst_timer.h has been included in clock_adjtime.h since 5085e14c7e

And I missed that completely :(

-- 
viresh


More information about the ltp mailing list