bionic/libc/include
Nick Kralevich 9ec0f03a0d Add relro support
Add support for PT_GNU_RELRO. This allows the static linker to
indicate that certain regions of memory should be marked as
"read-only" after dynamic linking is complete.

See:
  * http://www.akkadia.org/drepper/nonselsec.pdf (section 6)
  * http://tk-blog.blogspot.com/2009/02/relro-not-so-well-known-memory.html

Note that this change has no effect on Android right now, because
we don't compile our code with relro enabled.

Change-Id: I6541f8775367e8558b4388f7d105b1ae6e8f046b
2012-03-05 16:44:42 -08:00
..
android libc: Add <android/api-level.h> 2010-12-06 12:05:11 +01:00
arpa Import include/arpa/telnet.h from BSD 2010-01-15 15:15:52 -08:00
net add net/ethernet.h stub 2011-04-05 11:48:52 -07:00
netinet am b127b1f2: Merge "libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto." 2011-06-07 13:24:04 -07:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Add relro support 2012-03-05 16:44:42 -08:00
alloca.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
assert.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
byteswap.h Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64. 2010-09-26 11:26:53 -07:00
ctype.h Import change from ctype.h revision 1.20 from openbsd 2010-01-15 15:57:02 -08:00
dirent.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dlfcn.h fix prototype of dladdr 2011-09-28 12:17:34 -07:00
elf.h Eliminate duplicate constants 2012-02-29 11:21:53 -08:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
errno.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fcntl.h libc: add missing O_CLOEXEC from <fcntl.h> 2010-09-27 17:33:40 +02:00
features.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fnmatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fts.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
getopt.h libc: tag missing functions in system headers. 2010-10-09 17:56:55 +02:00
grp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inttypes.h Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
lastlog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libgen.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
limits.h Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
locale.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
malloc.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memory.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mntent.h mntent.h requires stdio.h 2010-01-15 15:57:02 -08:00
netdb.h libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto. 2011-06-02 15:28:16 -07:00
nsswitch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pathconf.h libc: Add missing C++ guards to <pathconf.h> 2010-09-27 17:27:14 +02:00
paths.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pthread.h libc: speed-up flockfile()/funlockfile() 2011-11-15 13:16:42 +01:00
pwd.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
regex.h Import regex from OpenBSD 2010-01-15 15:01:44 -08:00
resolv.h libc: remove private declarations from <time.h> and <resolv.h> 2012-01-13 14:24:08 +01:00
sched.h <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
semaphore.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setjmp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sha1.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
signal.h libc: Fix the definition of SIGRTMAX 2010-12-20 15:58:06 +01:00
stdint.h libc: <stdint.h>: Don't make __STD_CONSTANT_MACROS available if only __STD_LIMIT_MACROS is defined. 2011-03-11 14:39:05 +01:00
stdio.h Allow C++ to call fdprintf 2012-02-09 10:15:45 -08:00
stdlib.h Add the posix_memalign(3) function to bionic 2011-12-14 20:55:43 -08:00
string.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strings.h Make sure size_t is defined before used in strings.h 2009-07-22 11:41:02 +02:00
syslog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
termio.h libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
time64.h libc: allow usage of time64.h from cpp code 2009-11-23 16:25:32 -05:00
time.h libc: remove private declarations from <time.h> and <resolv.h> 2012-01-13 14:24:08 +01:00
unistd.h libc: Fix prctl() declaration. 2011-05-26 02:46:41 +02:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utmp.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
wchar.h Add wcscasecmp() and wcsncasecmp() prototypes to wchar.h. 2010-11-29 13:15:07 -08:00
wctype.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00