testsuite: also wrap gettid in syscall()
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 8 Jan 2018 16:22:29 +0000 (08:22 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 8 Jan 2018 21:32:38 +0000 (13:32 -0800)
commit7acc5daeecd033477737e780782aed475de72961
tree8fd040eea1a5f0ee8bbb7a5774b07366ac6e9b9b
parent77d7bd9eca764d6870398b9c2e47345d6f0e4552
testsuite: also wrap gettid in syscall()

Not a perfect solution for overriding syscall(), but at least
it makes the testsuite to pass in a modified nsswitch.conf (one that has
a module which calls syscall() to get the thread id).
testsuite/init_module.c