]> granicus.if.org Git - strace/commit
stat64-v.test: add newfstatat syscall support
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 16 Mar 2015 17:18:40 +0000 (17:18 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 16 Mar 2015 17:39:19 +0000 (17:39 +0000)
commitf79252f072a193bdff435afeaa6b6cd6d5c79947
treeee6ff71c7dc9e94e5fb2e2ca23eca07b4f57afff
parent71d6ffc6ed0a539257f0ec1a28d34c8d88bebce8
stat64-v.test: add newfstatat syscall support

Newer architectures have no stat syscall, so stat() is implemented there
using newfstatat syscall.

* tests/stat.c (STAT_FNAME): Rename to STAT_PREFIX.  Update callers.
[_FILE_OFFSET_BITS == 64] (STAT_PREFIX): Add newfstatat support.
(main) [!NR_stat]: Add newfstatat support.

Reported-by: Andreas Schwab <schwab@suse.de>
tests/stat.c