[CRIU] [PATCH] zdtm: Add vdso01 test case

Andrew Vagin avagin at parallels.com
Mon Jun 23 11:55:11 PDT 2014


On Mon, Jun 23, 2014 at 10:50:13PM +0400, Cyrill Gorcunov wrote:
> On Mon, Jun 23, 2014 at 10:34:40PM +0400, Andrew Vagin wrote:
> > On Mon, Jun 23, 2014 at 05:00:28PM +0400, Cyrill Gorcunov wrote:
> > > It parses vDSO in memory (just like CRIU does) and
> > > then use direct calls to vDSO entries instead of
> > > .plt/.got bundle. The reason for that -- I must
> > > be sure we're able to proceed calls without relying
> > > on libc anyhow.
> > > 
> > > Note the test is x86-64 specific so I don't turn in
> > > on in test suite by default.
> > 
> > Jenkins will not execute it...
> > 
> > We can use a macros to determine x86_64.
> > 
> > #if __x86_64__
> > /* 64-bit */
> > #endif
> 
> Can we do that somehow in bash instead?

You can do it in zdtm, but the macros looks easier.


More information about the CRIU mailing list