[LTP] [PATCH v3 1/2] rseq: Copy linux rseq test header files to ltp

Cyril Hrubis chrubis@suse.cz
Tue Mar 14 17:29:23 CET 2023


Hi!
> > We actually does not need most of the code. The only thing that we use
> > from the architecture specific headers is the RSEQ_SIG constant. So
> > unless you actually plan to write tests that use the assembly code in
> > these headers I would put just the RSEQ_SIG into the lapi/rseq.h instead.
> > 
> > There is no point in adding complex code that is not going to the be
> > used.
> > 
> Yes, indeed, that's why i have made a patch v5 to ONLY work on x86_64 together with only function/macro to be 
> used. Try to make test case small but the size is still big. This system call has no easy/friendly end user inteface
> .

Now I'm confused, I do not see a v5 rseq patchset. Also there is no need
to limit the test to x86_64 all that we need is a per architecture
RSEQ_SIG definition.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list