bionic/libc/include
Tom Cherry 49a309ff6a Separate properties by selabel
The purpose of this change is to add read access control to the property
space.

In the current design, a process either has access to the single
/dev/__properties__ file and therefore all properties that it contains
or it has access to no properties.  This change separates properties
into multiple property files based on their selabel, which allows
creation of sepolicies that allow read access of only specific sets of
properties to specific domains.

Bug 21852512

Change-Id: Ice265db79201ca811c6b6cf6d851703f53224f03
2015-12-02 15:17:03 -08:00
..
android Introduce anonymous namespace 2015-11-23 16:13:10 -08:00
arpa Simplify our endian.h implementation. 2014-12-08 20:35:08 -08:00
machine Use machine/timespec.h to separate timespec definition. 2014-12-10 06:36:11 +00:00
net Fix <net/route.h>. 2014-12-15 18:47:14 -08:00
netinet <netinet/udp.h> should include <linux/udp.h>. 2015-09-22 12:34:13 -07:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Separate properties by selabel 2015-12-02 15:17:03 -08:00
alloca.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ar.h New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
assert.h Add "__noreturn" to assert and assert2 2014-01-15 07:32:52 +00:00
byteswap.h Remove swap16/swap32/swap64 header pollution. 2015-10-26 17:51:42 -07:00
ctype.h Put back inline definitions if using an old API. 2015-01-29 17:30:40 -08:00
dirent.h Implement scandirat and scandirat64. 2015-10-27 13:47:36 -07:00
dlfcn.h Add RTLD_NODELETE flag support 2014-10-01 11:09:37 -07:00
elf.h Add definitions of Elf32_Sxword and ELFXX_R_INFO 2015-05-07 23:10:16 -07:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h The err family allow null format strings. 2014-07-11 02:53:27 +00:00
errno.h Put back inline definitions if using an old API. 2015-01-29 17:30:40 -08:00
error.h Add <error.h>. 2015-01-26 11:57:11 -08:00
fcntl.h Implement _FILE_OFFSET_BITS (mostly). 2015-02-17 19:54:43 -08:00
features.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
fnmatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fts.h libc: Fix headers to allow direct inclusion. 2014-12-01 15:44:24 +01:00
ftw.h Added ftw64, nftw64 2014-02-24 20:22:11 +00:00
getopt.h Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
grp.h Make getgrent deprecated. 2015-02-25 19:05:37 -08:00
inttypes.h Switch to the OpenBSD implementations of the wide scanf functions. 2014-04-29 16:28:56 -07:00
lastlog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libgen.h Fix GNU/POSIX basename headers. 2015-11-04 14:19:55 -08:00
limits.h Remove PAGE_SIZE from <limits.h>. 2015-07-28 19:54:53 -07:00
link.h Fix <link.h>. 2014-02-10 13:31:13 -08:00
locale.h Brings LC_* defs into line with POSIX 2014-04-18 21:48:57 +00:00
malloc.h Implement malloc_info(3). 2014-08-22 10:23:12 -07:00
memory.h Fix <memory.h> to be a synonym for <string.h> like in glibc. 2013-02-22 11:11:48 -08:00
mntent.h Add getmntent_r to our collection of <mntent.h> compatibility stubs. 2014-05-13 10:44:07 -07:00
netdb.h Define MAXHOSTNAMELEN explicitly in source files. 2015-02-09 19:56:47 -08:00
nsswitch.h Restore <nsswitch.h> which is BSD API, not private. 2014-06-30 14:15:34 -07:00
paths.h Fix _PATH_DEFPATH to correspond to the actual default path. 2015-03-17 17:34:14 -07:00
poll.h Fortify poll and ppoll. 2015-02-02 09:15:19 -08:00
pthread.h Implement pthread spin. 2015-11-18 17:51:21 -08:00
pty.h Implement <pty.h>. 2014-12-03 15:55:34 -08:00
pwd.h Move endpwent to ndk_cruft.cpp. 2015-02-25 14:58:08 -08:00
regex.h Fix regoff_t for LP32 and _FILE_OFFSET_BITS=64. 2015-08-27 14:48:32 -07:00
resolv.h Use default hidden visibility to build libc_dns. 2014-06-12 13:35:41 -07:00
sched.h Use machine/timespec.h to separate timespec definition. 2014-12-10 06:36:11 +00:00
search.h Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
semaphore.h Switch sem_t from bionic atomics to stdatomic.h. 2015-02-03 16:35:57 -08:00
setjmp.h Rewrite and hide longjmperror. 2014-06-06 16:49:39 -07:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
signal.h Use attribute availability. 2015-09-04 13:02:03 -07:00
stdatomic.h Allow stdatomic.h to be included from mingw prebuilt. 2014-11-12 18:08:25 -08:00
stdint.h There is no _MIN for unsigned types. 2014-07-21 17:16:30 -07:00
stdio_ext.h Add <stdio_ext.h> for elfutils. 2014-08-20 10:23:52 -07:00
stdio.h Add fileno_unlocked to support thread sanitizer. 2015-11-06 16:13:47 -08:00
stdlib.h Use attribute availability. 2015-09-04 13:02:03 -07:00
string.h Fix GNU/POSIX basename headers. 2015-11-04 14:19:55 -08:00
strings.h Implement all the POSIX _l functions. 2014-11-06 15:52:22 -08:00
syscall.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
sysexits.h Add <sysexits.h>. 2015-06-29 13:44:34 -07:00
syslog.h syslog.h: missing LOG_MAKEPRI definition 2015-03-12 13:21:35 -07:00
termio.h libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h Put back inline definitions if using an old API. 2015-01-29 17:30:40 -08:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
time.h support _POSIX_CPUTIME 2014-11-26 17:14:50 -08:00
uchar.h Fixed uchar.h for clang3.6 2015-06-29 13:27:28 +03:00
ucontext.h Add x86_64 ucontext.h for better compatibility 2014-01-29 15:35:33 -08:00
unistd.h Unify unistd.h. 2015-09-04 13:02:09 -07:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
utmp.h Fix <utmp.h> declarations. 2015-10-26 19:29:12 -07:00
wait.h Add all the glibc one-line "synonym" header files. 2015-07-17 13:59:36 -07:00
wchar.h Add GNU extensions mempcpy and wmemcpy. 2015-02-18 22:02:56 -08:00
wctype.h Revert "Revert "Add locale aware APIs."" 2014-07-11 16:21:31 +00:00
xlocale.h Flesh out <locale.h>. 2014-04-08 19:37:38 -07:00