blob: e716e3a42897dd270f32bb7923ff51df86abdaad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Check decoding of semtimedop syscall.
*
* Copyright (c) 2019-2021 The strace developers.
* All rights reserved.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "tests.h"
#include "scno.h"
#ifdef __NR_semtimedop
# define SYSCALL_NR __NR_semtimedop
# define SYSCALL_NAME "semtimedop"
# ifdef __NR_semtimedop_time64
# define semtimedop_timespec_t kernel_timespec32_t
# else
# define semtimedop_timespec_t kernel_timespec64_t
# endif
# include "semtimedop-syscall.c"
#else
SKIP_MAIN_UNDEFINED("__NR_semtimedop")
#endif
|