Prefer property_contexts from /system & /vendor

This changes selinux_android_prop_context_handle 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 in /
      boots up fine, no denials to do with properties, getprop -Z
      lists correct labels, dmesg says properties were loaded from
      /system & /vendor.
Bug: 36002573

Change-Id: I1d1362b5f75aa864e798c07b1e8073c669e0aee6
1 file changed