]> granicus.if.org Git - strace/blob - tests/newfstatat.c
strace: terminate itself if interrupted by a signal
[strace] / tests / newfstatat.c
1 /*
2  * Copyright (c) 2015-2016 Dmitry V. Levin <ldv@altlinux.org>
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  */
7
8 #include "tests.h"
9 #include <asm/unistd.h>
10
11 #ifdef __NR_newfstatat
12
13 # define TEST_SYSCALL_NR __NR_newfstatat
14 # define TEST_SYSCALL_STR "newfstatat"
15 # include "fstatat.c"
16
17 #else
18
19 SKIP_MAIN_UNDEFINED("__NR_newfstatat")
20
21 #endif