Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sys
File: personality.h
/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
/* Taken verbatim from Linux 2.6 (include/linux/personality.h). */
[17] Fix | Delete
[18] Fix | Delete
#ifndef _SYS_PERSONALITY_H
[19] Fix | Delete
#define _SYS_PERSONALITY_H 1
[20] Fix | Delete
[21] Fix | Delete
#include <features.h>
[22] Fix | Delete
[23] Fix | Delete
/* Flags for bug emulation.
[24] Fix | Delete
These occupy the top three bytes. */
[25] Fix | Delete
enum
[26] Fix | Delete
{
[27] Fix | Delete
UNAME26 = 0x0020000,
[28] Fix | Delete
ADDR_NO_RANDOMIZE = 0x0040000,
[29] Fix | Delete
FDPIC_FUNCPTRS = 0x0080000,
[30] Fix | Delete
MMAP_PAGE_ZERO = 0x0100000,
[31] Fix | Delete
ADDR_COMPAT_LAYOUT = 0x0200000,
[32] Fix | Delete
READ_IMPLIES_EXEC = 0x0400000,
[33] Fix | Delete
ADDR_LIMIT_32BIT = 0x0800000,
[34] Fix | Delete
SHORT_INODE = 0x1000000,
[35] Fix | Delete
WHOLE_SECONDS = 0x2000000,
[36] Fix | Delete
STICKY_TIMEOUTS = 0x4000000,
[37] Fix | Delete
ADDR_LIMIT_3GB = 0x8000000
[38] Fix | Delete
};
[39] Fix | Delete
[40] Fix | Delete
/* Personality types.
[41] Fix | Delete
[42] Fix | Delete
These go in the low byte. Avoid using the top bit, it will
[43] Fix | Delete
conflict with error returns. */
[44] Fix | Delete
enum
[45] Fix | Delete
{
[46] Fix | Delete
PER_LINUX = 0x0000,
[47] Fix | Delete
PER_LINUX_32BIT = 0x0000 | ADDR_LIMIT_32BIT,
[48] Fix | Delete
PER_LINUX_FDPIC = 0x0000 | FDPIC_FUNCPTRS,
[49] Fix | Delete
PER_SVR4 = 0x0001 | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
[50] Fix | Delete
PER_SVR3 = 0x0002 | STICKY_TIMEOUTS | SHORT_INODE,
[51] Fix | Delete
PER_SCOSVR3 = 0x0003 | STICKY_TIMEOUTS | WHOLE_SECONDS | SHORT_INODE,
[52] Fix | Delete
PER_OSR5 = 0x0003 | STICKY_TIMEOUTS | WHOLE_SECONDS,
[53] Fix | Delete
PER_WYSEV386 = 0x0004 | STICKY_TIMEOUTS | SHORT_INODE,
[54] Fix | Delete
PER_ISCR4 = 0x0005 | STICKY_TIMEOUTS,
[55] Fix | Delete
PER_BSD = 0x0006,
[56] Fix | Delete
PER_SUNOS = 0x0006 | STICKY_TIMEOUTS,
[57] Fix | Delete
PER_XENIX = 0x0007 | STICKY_TIMEOUTS | SHORT_INODE,
[58] Fix | Delete
PER_LINUX32 = 0x0008,
[59] Fix | Delete
PER_LINUX32_3GB = 0x0008 | ADDR_LIMIT_3GB,
[60] Fix | Delete
PER_IRIX32 = 0x0009 | STICKY_TIMEOUTS, /* IRIX5 32-bit */
[61] Fix | Delete
PER_IRIXN32 = 0x000a | STICKY_TIMEOUTS, /* IRIX6 new 32-bit */
[62] Fix | Delete
PER_IRIX64 = 0x000b | STICKY_TIMEOUTS, /* IRIX6 64-bit */
[63] Fix | Delete
PER_RISCOS = 0x000c,
[64] Fix | Delete
PER_SOLARIS = 0x000d | STICKY_TIMEOUTS,
[65] Fix | Delete
PER_UW7 = 0x000e | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
[66] Fix | Delete
PER_OSF4 = 0x000f,
[67] Fix | Delete
PER_HPUX = 0x0010,
[68] Fix | Delete
PER_MASK = 0x00ff,
[69] Fix | Delete
};
[70] Fix | Delete
[71] Fix | Delete
__BEGIN_DECLS
[72] Fix | Delete
[73] Fix | Delete
/* Set different ABIs (personalities). */
[74] Fix | Delete
extern int personality (unsigned long int __persona) __THROW;
[75] Fix | Delete
[76] Fix | Delete
__END_DECLS
[77] Fix | Delete
[78] Fix | Delete
#endif /* sys/personality.h */
[79] Fix | Delete
[80] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function