1 /*
2 * Copyright (c) 2018-2023 The strace developers.
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7
8 #define HAVE_ARCH_SA_RESTORER 0
9 /*
10 * Linux kernel commit v4.6-rc2~20^2 introduced a regression:
11 * when tracer changes syscall number to -1, the kernel fails
12 * to initialize %r28 with -ENOSYS and subsequently fails
13 * to return the error code of the failed syscall to userspace.
14 * Workaround this by initializing %r28 ourselves.
15 */
16 #define ARCH_NEEDS_SET_ERROR_FOR_SCNO_TAMPERING 0
17 #define PERSONALITY0_AUDIT_ARCH { AUDIT_ARCH_PARISC, 0 }