1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci/*
3f08c3bdfSopenharmony_ci * Copyright (c) 2017 Richard Palethorpe <rpalethorpe@suse.com>
4f08c3bdfSopenharmony_ci */
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ci/* In the Linux kernel and glibc enums are (mostly) used for the constants,
7f08c3bdfSopenharmony_ci * but in musl macros are used.
8f08c3bdfSopenharmony_ci */
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ci#ifndef LAPI_PERSONALITY_H__
11f08c3bdfSopenharmony_ci#define LAPI_PERSONALITY_H__
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ci#include <sys/personality.h>
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ci#ifndef UNAME26
16f08c3bdfSopenharmony_ci# define UNAME26 0x0020000
17f08c3bdfSopenharmony_ci#endif
18f08c3bdfSopenharmony_ci
19f08c3bdfSopenharmony_ci#ifndef READ_IMPLIES_EXEC
20f08c3bdfSopenharmony_ci# define READ_IMPLIES_EXEC 0x0400000
21f08c3bdfSopenharmony_ci#endif
22f08c3bdfSopenharmony_ci
23f08c3bdfSopenharmony_ci#endif	/* LAPI_PERSONALITY_H__ */
24