platform_bionic/libc
Alex Klyubin 176cf1f65b Prefer property_contexts from /system & /vendor
This changes system_properties' initialize_properties to prefer
loading property_contexts from /system/etc/selinux &
/vendor/etc/selinux, while falling back to the pre-existing behavior
of loading from /.

Test: Device with *_property_contexts in / boots up fine, no denials
      to do with properties, getprop -Z lists correct labels.
Test: Device with *_property_contexts in /system & /vendor, but not
      in /, boots up fine, no denials to do with properties,
      getprop -Z lists correct labels.
Test: Device with *_property_contexts in /system & vendor and with
      empty *_property_contexts in / boots up fine, no denials to do
      with properties, getprop -Z lists correct labels.
Bug: 36002573

Change-Id: I15174acdf89ee8f5a96acf1e38a54d4214df51ef
2017-03-08 15:28:29 -08:00
..
arch-arm Merge "Removing the kuser_helper elf note from building" 2017-02-10 06:24:32 +00:00
arch-arm64 libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings 2016-11-28 19:35:12 +00:00
arch-common/bionic Properly align init/fini_arrays for crtend.o 2015-05-07 12:56:15 -07:00
arch-mips libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
arch-mips64 Remove deprecated Android.mk files 2016-05-26 16:41:57 -07:00
arch-x86 Use ENTRY_PRIVATE in __bionic_clone assembler. 2016-10-26 17:01:58 -07:00
arch-x86_64 Use ENTRY_PRIVATE in __bionic_clone assembler. 2016-10-26 17:01:58 -07:00
bionic Prefer property_contexts from /system & /vendor 2017-03-08 15:28:29 -08:00
dns Don't mark __res_params or android_net_context as packed. 2017-01-25 00:42:45 -08:00
include Merge "Fix pre-L MB_CUR_MAX." 2017-02-27 22:22:27 +00:00
kernel Merge "Refactor the kernel update scripts." 2017-03-03 23:40:12 +00:00
malloc_debug Removed include log\logger.h from log_fake.cpp 2017-01-23 18:56:53 -08:00
private libc: __system_property_set uses writev to write atomically 2017-02-24 14:00:04 -08:00
seccomp Merge "Generate both static and shared libseccomp_policy." 2017-03-04 00:20:13 +00:00
stdio libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
stdlib Revert "Revert "Remove __sinit and __sdidinit."" 2015-12-05 07:30:59 -08:00
tools Merge "Move seccomp policy to bionic" 2017-02-28 15:36:08 +00:00
tzcode localtime_r(3) should act as if it calls tzset(3). 2017-01-11 14:56:04 -08:00
upstream-freebsd libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
upstream-netbsd Move to .md files for even trivial documentation. 2017-01-07 12:47:28 -08:00
upstream-openbsd libc: add clang FORTIFY support 2017-02-09 15:49:32 -08:00
zoneinfo Update timezone data to 2016j 2016-11-29 17:08:22 +00:00
Android.bp Generate both static and shared libseccomp_policy. 2017-03-02 18:57:44 -08:00
Android.mk Rename Android.soong.mk to Android.mk 2016-07-11 16:54:20 -07:00
fs_config_generator.py Revert "Revert "move android_ids into bionic"" 2016-12-13 23:47:25 +00:00
libc.arm.map Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libc.arm64.map Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libc.map.txt Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libc.mips.map Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libc.mips64.map Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libc.x86.map Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libc.x86_64.map Move __system_property_*_serial back to LIBC 2017-02-24 16:11:14 -08:00
libstdc++.arm.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.arm64.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.map.txt Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.mips.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.mips64.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.x86.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
libstdc++.x86_64.map Remove _ZTV9type_info from the version script. 2016-11-04 16:51:45 -07:00
MODULE_LICENSE_BSD
NOTICE Move seccomp policy to bionic 2017-02-27 12:42:39 -08:00
SECCOMP_WHITELIST.TXT Expand whitelist 2017-03-03 11:19:08 -08:00
SYSCALLS.TXT Merge "Correct the return types of readv and writev." 2016-11-30 19:26:06 +00:00
version_script.txt Revert "Fix volantis boot." 2015-05-08 09:36:03 -07:00