On Thu, Oct 27, 2016 at 01:03:36PM +0800, ChenJingPiao wrote: > From d8b52c3ac997dff046e1536d692f55cd470f72d8 Mon Sep 17 00:00:00 2001 > From: ChenJingPiao <chenjingp...@foxmail.com> > Date: Thu, 27 Oct 2016 12:25:33 +0800 > Subject: [PATCH] tests: check decoding of gettid syscall.
As one of many zero argument syscalls, gettid has no specific parser and relies on a generic one, which is already covered by tests. The only thing that's not covered is the number of syscall arguments, so a test for this might be OK. Please note this is a test of strace, not of the kernel, and there is no need to test whether the kernel follows the expected semantics of gettid syscall. Despite the fact that strace testsuite has spotted several kernel bugs, it's not our priority. Please keep the test as simple as necessary to test strace. For example, there is no need to create any threads to check the parser of gettid syscall. -- ldv
pgp0cOaxAvD4K.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel