]> granicus.if.org Git - strace/blob - get_personality.c
xlat: provide fallback definitions for XDP_FLAGS_* constants
[strace] / get_personality.c
1 /*
2  * Copyright (c) 2018 Dmitry V. Levin <ldv@altlinux.org>
3  * Copyright (c) 2018-2019 The strace developers.
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: LGPL-2.1-or-later
7  */
8
9 #include "defs.h"
10
11 #if SUPPORTED_PERSONALITIES > 1
12 # include "get_personality.h"
13 # include <linux/audit.h>
14 # define XLAT_MACROS_ONLY
15 #  include "xlat/elf_em.h"
16 #  include "xlat/audit_arch.h"
17 # undef XLAT_MACROS_ONLY
18 # include "arch_get_personality.c"
19 #endif