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