[LTP] [PATCH 0/5] syscalls: Add tests to verify the _time_high fields

Viresh Kumar viresh.kumar@linaro.org
Fri May 22 11:08:08 CEST 2020


On 21-05-20, 16:25, Cyril Hrubis wrote:
> Hi!
> > > This patchset adds a new test to three syscalls to verify that the
> > > extended fields, _time_high, are cleared by the kernel. This was
> > > suggested by Arnd.
> > >
> > > I did run them, but on a 64 bit machine. Please see if you can check
> > > that they work properly on 32 bit machines, where we really want to test
> > > them. This is rebased over ltp master.
> > >
> > > Cyril, This conflicts a bit with my other time64 syscall tests, I will
> > > rebase one of these, after you apply any of these first :)
> > 
> > The known bugs we had here were actually on 64-bit machines running
> > compat 32-bit user space. You should be able to test this on most
> > 64-bit distros using the compat libraries and building ltp against the
> > 32-bit version (not sure what the best way is to configure that, but it
> > should not be hard).
> 
> We run LTP compiled with -m32 in our automation in SUSE precisely
> because of these reasons. Not sure if somebody else does that.

Okay, I tested LTP with:

LDFLAGS=-m32 CFLAGS=-m32 ./configure

and the time-high fields got cleared on my x86 machine with 5.5 kernel.

-- 
viresh


More information about the ltp mailing list