Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get_personality.c 446B

12345678910111213141516171819
  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. #include "defs.h"
  9. #if SUPPORTED_PERSONALITIES > 1
  10. # include "get_personality.h"
  11. # include <linux/audit.h>
  12. # define XLAT_MACROS_ONLY
  13. # include "xlat/elf_em.h"
  14. # include "xlat/audit_arch.h"
  15. # undef XLAT_MACROS_ONLY
  16. # include "arch_get_personality.c"
  17. #endif