1 /*
2 * Copyright (c) 2018-2021 The strace developers.
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7
8 /**
9 * Returns prefix for a syscall constant literal. It is has to be that way
10 * thanks to ARM that decided to prefix their special system calls like sys32
11 * and sys26 with __ARM_NR_* prefix instead of __NR_*, so we can't simply print
12 * "__NR_".
13 */
14 static const char *
15 nr_prefix(kernel_ulong_t scno)
16 {
17 return "__NR_";
18 }