[PATCH v2] tests/stat: support fstatat syscall for stat()

Dmitry V. Levin ldv at altlinux.org
Mon May 6 21:13:03 UTC 2013

On Mon, May 06, 2013 at 11:21:13AM -0400, Chris Metcalf wrote:
> Newer Linux architectures don't support the stat/stat64 syscalls.
> Instead they use fstatat() with AT_FDCWD and an extra flags argument.
> Support seeing this output in the 'strace -efile' test.
> As part of this change, use "grep -E -x" syntax consistently for
> all stat tests, since the number of \(foo\)\? expressions was becoming
> pretty unwieldy.

Thanks.  These fstatat family syscalls have different names on different
architectures, though, so I've applied this patch, and a small regexp
correction on top of it.  Make-tested on x86/x86-64/armv7.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130507/4b6b82a1/attachment.bin>

More information about the Strace-devel mailing list