summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2017-03-08 13:16:03 -0800
committerAlex Klyubin <klyubin@google.com>2017-03-08 15:28:29 -0800
commit176cf1f65b4431a00f9238e811f71295c36d4a27 (patch)
tree803349727a128d616beac61a91784e9ec44811d9 /libc/stdio/stdio_ext.cpp
parentf9f320ba73cbcd29c413ad52b8d681c65e2268a6 (diff)
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
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions